diff --git a/compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp b/compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp index 22beb8c598255..da11a5886ca9c 100644 --- a/compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp +++ b/compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp @@ -45,6 +45,7 @@ int main() { // Otherwise, we need a different method. __attribute__((destructor)) __attribute__((no_sanitize_address)) +__attribute__((no_sanitize("hwaddress"))) void ConfirmPointerHasSurvived() { print_address("Value after LSan: ", 1, *pp); }