diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Instrumentation/AddressSanitizer/lifetime.ll | 3 | ||||
| -rw-r--r-- | llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll | 11 |
2 files changed, 7 insertions, 7 deletions
diff --git a/llvm/test/Instrumentation/AddressSanitizer/lifetime.ll b/llvm/test/Instrumentation/AddressSanitizer/lifetime.ll index cf7519764e0..0eaceb8f928 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/lifetime.ll +++ b/llvm/test/Instrumentation/AddressSanitizer/lifetime.ll @@ -108,10 +108,9 @@ entry: ; CHECK: __asan_poison_stack_memory ret void + ; CHECK: store i32 0 ; CHECK: store i64 0 ; CHECK: store i64 0 - ; CHECK: store i64 0 - ; CHECK: store i32 0 ; CHECK-NEXT: __asan_unpoison_stack_memory } diff --git a/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll b/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll index 4823cdff289..a3c852ad04e 100644 --- a/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll +++ b/llvm/test/Instrumentation/AddressSanitizer/stack-poisoning.ll @@ -16,11 +16,12 @@ entry: ; CHECK-UAR: label ; CHECK-UAR: call i64 @__asan_stack_malloc_4 ; CHECK-UAR: label +; Poison red zones. ; CHECK-UAR: store i64 -1007680412564983311 ; CHECK-UAR: store i64 72057598113936114 -; CHECK-UAR: store i64 4076008178 -; CHECK-UAR: store i64 -868082074072645632 -; CHECK-UAR: store i32 -202116109 +; CHECK-UAR: store i32 -218959118 +; CHECK-UAR: store i64 -868082074056920316 +; CHECK-UAR: store i16 -3085 ; CHECK-UAR: call void @Foo ; CHECK-UAR: call void @Foo ; CHECK-UAR: call void @Foo @@ -49,9 +50,9 @@ entry: ; Else Block: no UAR frame. Only unpoison the redzones. ; CHECK-UAR: store i64 0 ; CHECK-UAR: store i64 0 - ; CHECK-UAR: store i64 0 - ; CHECK-UAR: store i64 0 ; CHECK-UAR: store i32 0 + ; CHECK-UAR: store i64 0 + ; CHECK-UAR: store i16 0 ; CHECK-UAR-NOT: store ; CHECK-UAR: label ; Done, no more stores. |

