[PATCH] D30783: [asan] Split SIGSEGV/SIGBUS handling so we can handle only one of them and not the other.

Kostya Serebryany via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 10 17:26:28 PST 2017


kcc added inline comments.


================
Comment at: test/asan/TestCases/Posix/asan-sigbus.cpp:4
+// RUN: %clangxx_asan -std=c++11 %s -o %t && not %run %t %T/file 2>&1 | FileCheck %s -check-prefix=CHECK -check-prefix=CHECK-BUS
+// RUN: %clangxx_asan -std=c++11 %s -o %t && %env_asan_opts=handle_bug=false not %run %t %T/file 2>&1 | FileCheck %s
+
----------------
don't compile twice. 
what's handle_bug? 


https://reviews.llvm.org/D30783





More information about the llvm-commits mailing list