[test] Improve test/CodeGen/X86/linux-preemption.ll
authorFangrui Song <maskray@google.com>
Wed, 12 Feb 2020 01:17:08 +0000 (17:17 -0800)
committerFangrui Song <maskray@google.com>
Wed, 12 Feb 2020 01:23:37 +0000 (17:23 -0800)
llvm/test/CodeGen/X86/linux-preemption.ll

index 5de8587..3bf9711 100644 (file)
@@ -228,3 +228,16 @@ define void()* @get_external_preemptable_function() {
 
 ; COMMON:     {{^}}strong_local_global:
 ; COMMON-NEXT .Lstrong_local_global:
+
+; COMMON:      .globl strong_default_alias
+; COMMON-NEXT: .set strong_default_alias, aliasee
+; COMMON-NEXT: .weak weak_default_alias
+; COMMON-NEXT: .set weak_default_alias, aliasee
+; COMMON-NEXT: .globl strong_local_alias
+; COMMON-NEXT: .set strong_local_alias, aliasee
+; COMMON-NEXT: .weak weak_local_alias
+; COMMON-NEXT: .set weak_local_alias, aliasee
+; COMMON-NEXT: .globl strong_preemptable_alias
+; COMMON-NEXT: .set strong_preemptable_alias, aliasee
+; COMMON-NEXT: .weak weak_preemptable_alias
+; COMMON-NEXT: .set weak_preemptable_alias, aliasee