projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[opaque pointer type] Add textual IR support for explicit type parameter to load...
[oota-llvm.git]
/
test
/
Instrumentation
/
AddressSanitizer
/
stack-poisoning.ll
diff --git
a/test/Instrumentation/AddressSanitizer/stack-poisoning.ll
b/test/Instrumentation/AddressSanitizer/stack-poisoning.ll
index 6919e5353f208aca87682bcc31d32ac8916cd04f..0c9ffe2d18f4336e7f917277ce7d3e816a226e7b 100644
(file)
--- a/
test/Instrumentation/AddressSanitizer/stack-poisoning.ll
+++ b/
test/Instrumentation/AddressSanitizer/stack-poisoning.ll
@@
-1,5
+1,5
@@
; RUN: opt < %s -asan -asan-module -asan-use-after-return -S | FileCheck --check-prefix=CHECK-UAR %s
; RUN: opt < %s -asan -asan-module -asan-use-after-return -S | FileCheck --check-prefix=CHECK-UAR %s
-; RUN: opt < %s -asan -asan-module -S | FileCheck --check-prefix=CHECK-PLAIN %s
+; RUN: opt < %s -asan -asan-module -
asan-use-after-return=0 -
S | FileCheck --check-prefix=CHECK-PLAIN %s
target datalayout = "e-i64:64-f80:128-s:64-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
target datalayout = "e-i64:64-f80:128-s:64-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"
@@
-12,7
+12,7
@@
entry:
; CHECK-PLAIN: ret void
; CHECK-UAR-LABEL: Bar
; CHECK-PLAIN: ret void
; CHECK-UAR-LABEL: Bar
-; CHECK-UAR: load i32* @__asan_option_detect_stack_use_after_return
+; CHECK-UAR: load i32
, i32
* @__asan_option_detect_stack_use_after_return
; CHECK-UAR: label
; CHECK-UAR: call i64 @__asan_stack_malloc_1
; CHECK-UAR: label
; CHECK-UAR: label
; CHECK-UAR: call i64 @__asan_stack_malloc_1
; CHECK-UAR: label
@@
-35,7
+35,7
@@
entry:
; CHECK-UAR: ret void
%x = alloca [20 x i8], align 16
; CHECK-UAR: ret void
%x = alloca [20 x i8], align 16
- %arraydecay = getelementptr inbounds [20 x i8]* %x, i64 0, i64 0
+ %arraydecay = getelementptr inbounds [20 x i8]
, [20 x i8]
* %x, i64 0, i64 0
call void @Foo(i8* %arraydecay)
ret void
}
call void @Foo(i8* %arraydecay)
ret void
}