From 3f972ab1bf37b3783428891f47c772fce2f56ed5 Mon Sep 17 00:00:00 2001 From: "Duncan P. N. Exon Smith" Date: Wed, 25 Mar 2015 20:51:21 +0000 Subject: [PATCH] Linker: Loosen checks slightly from r233207 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 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/Linker/subprogram-linkonce-weak.ll b/test/Linker/subprogram-linkonce-weak.ll index c2b04a2b1e7..e4cc5e506d8 100644 --- a/test/Linker/subprogram-linkonce-weak.ll +++ b/test/Linker/subprogram-linkonce-weak.ll @@ -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 -- 2.34.1