Linker: Loosen checks slightly from r233207
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 25 Mar 2015 20:51:21 +0000 (20:51 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Wed, 25 Mar 2015 20:51:21 +0000 (20:51 +0000)
According to at least one bot [1], function prologues aren't always
empty for these functions.  Skip that part of the follow-up check.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@233214 91177308-0d34-0410-b5e6-96231b3b80d8

test/Linker/subprogram-linkonce-weak.ll

index c2b04a2b1e7e5dd1f1084fcd8fc0dffd27c4b21a..e4cc5e506d88b1aaaeebd7ae3a7b61127e342946 100644 (file)
@@ -145,14 +145,14 @@ entry:
 
 ; DWLW-LABEL: file_names[{{ *}}1]{{.*}} bar.c
 ; DWLW:       [[BARLOW]]  0 0 1 0 0 is_stmt
-; DWLW:       [[BARLOW]]  2 0 1 0 0 is_stmt prologue_end
+; DWLW:                   2 0 1 0 0 is_stmt prologue_end
 ; DWLW-LABEL: file_names[{{ *}}1]{{.*}} foo.c
 ; DWLW:       [[FOOLOW]]  0 0 1 0 0 is_stmt
-; DWLW:       [[FOOLOW]] 52 0 1 0 0 is_stmt prologue_end
+; DWLW:                  52 0 1 0 0 is_stmt prologue_end
 
 ; DWWL-LABEL: file_names[{{ *}}1]{{.*}} foo.c
 ; DWWL:       [[FOOLOW]]  0 0 1 0 0 is_stmt
-; DWWL:       [[FOOLOW]] 52 0 1 0 0 is_stmt prologue_end
+; DWWL:                  52 0 1 0 0 is_stmt prologue_end
 ; DWWL-LABEL: file_names[{{ *}}1]{{.*}} bar.c
 ; DWWL:       [[BARLOW]]  0 0 1 0 0 is_stmt
-; DWWL:       [[BARLOW]]  2 0 1 0 0 is_stmt prologue_end
+; DWWL:                   2 0 1 0 0 is_stmt prologue_end