forked from OSchip/llvm-project
Fix alloca_instruments_all_paddings.cc test to work under higher -O levels (compiler-rt part)
When AddressSanitizer only a single dynamic alloca and no static allocas, due to an early exit from FunctionStackPoisoner::poisonStack we forget to unpoison the dynamic alloca. This patch fixes that. Reviewed at http://reviews.llvm.org/D7810 llvm-svn: 230317
This commit is contained in:
parent
f5875d3026
commit
e4ac10179c
|
@ -1,4 +1,5 @@
|
|||
// RUN: %clangxx_asan -O0 -mllvm -asan-instrument-allocas %s -o %t
|
||||
// RUN: %clangxx_asan -O3 -mllvm -asan-instrument-allocas %s -o %t
|
||||
// RUN: %run %t 2>&1
|
||||
//
|
||||
|
||||
|
|
Loading…
Reference in New Issue