[llvm] r198020 - [ASan] Fix the tests broken by r198018 to check for private linkage of ASan-generated globals.
Alexander Potapenko
glider at google.com
Wed Dec 25 09:06:04 PST 2013
Author: glider
Date: Wed Dec 25 11:06:04 2013
New Revision: 198020
URL: http://llvm.org/viewvc/llvm-project?rev=198020&view=rev
Log:
[ASan] Fix the tests broken by r198018 to check for private linkage of ASan-generated globals.
Modified:
llvm/trunk/test/Instrumentation/AddressSanitizer/do-not-instrument-internal-globals.ll
llvm/trunk/test/Instrumentation/AddressSanitizer/stack_layout.ll
Modified: llvm/trunk/test/Instrumentation/AddressSanitizer/do-not-instrument-internal-globals.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/AddressSanitizer/do-not-instrument-internal-globals.ll?rev=198020&r1=198019&r2=198020&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/AddressSanitizer/do-not-instrument-internal-globals.ll (original)
+++ llvm/trunk/test/Instrumentation/AddressSanitizer/do-not-instrument-internal-globals.ll Wed Dec 25 11:06:04 2013
@@ -16,5 +16,5 @@ declare void @_Z3fooPi(i32*)
; We create one global string constant for the stack frame above.
; It should have unnamed_addr and align 1.
; Make sure we don't create any other global constants.
-; CHECK: = internal unnamed_addr constant{{.*}}align 1
-; CHECK-NOT: = internal unnamed_addr constant
+; CHECK: = private unnamed_addr constant{{.*}}align 1
+; CHECK-NOT: = private unnamed_addr constant
Modified: llvm/trunk/test/Instrumentation/AddressSanitizer/stack_layout.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Instrumentation/AddressSanitizer/stack_layout.ll?rev=198020&r1=198019&r2=198020&view=diff
==============================================================================
--- llvm/trunk/test/Instrumentation/AddressSanitizer/stack_layout.ll (original)
+++ llvm/trunk/test/Instrumentation/AddressSanitizer/stack_layout.ll Wed Dec 25 11:06:04 2013
@@ -7,9 +7,9 @@ target triple = "x86_64-unknown-linux-gn
declare void @Use(i8*)
-; CHECK: internal unnamed_addr constant{{.*}}3 32 10 3 XXX 64 20 3 YYY 128 30 3 ZZZ
-; CHECK: internal unnamed_addr constant{{.*}}3 32 5 3 AAA 64 55 3 BBB 160 555 3 CCC
-; CHECK: internal unnamed_addr constant{{.*}}3 256 128 3 CCC 448 128 3 BBB 608 128 3 AAA
+; CHECK: private unnamed_addr constant{{.*}}3 32 10 3 XXX 64 20 3 YYY 128 30 3 ZZZ
+; CHECK: private unnamed_addr constant{{.*}}3 32 5 3 AAA 64 55 3 BBB 160 555 3 CCC
+; CHECK: private unnamed_addr constant{{.*}}3 256 128 3 CCC 448 128 3 BBB 608 128 3 AAA
define void @Func1() sanitize_address {
entry:
More information about the llvm-commits
mailing list