forked from OSchip/llvm-project
parent
d2cd2d018f
commit
1c34897887
|
@ -1,7 +1,8 @@
|
|||
// Test for disabling LSan at link-time.
|
||||
// RUN: LSAN_BASE="use_stacks=0:use_registers=0"
|
||||
// RUN: %clangxx_lsan %s -o %t
|
||||
// RUN: %t
|
||||
// RUN: %t foo 2>&1 | FileCheck %s
|
||||
// RUN: LSAN_OPTIONS=$LSAN_BASE %t
|
||||
// RUN: LSAN_OPTIONS=$LSAN_BASE %t foo 2>&1 | FileCheck %s
|
||||
|
||||
#include <sanitizer/lsan_interface.h>
|
||||
|
||||
|
|
Loading…
Reference in New Issue