[llvm-commits] [compiler-rt] r157693 - /compiler-rt/trunk/lib/asan/asan_posix.cc
Alexander Potapenko
glider at google.com
Wed May 30 08:29:11 PDT 2012
Author: glider
Date: Wed May 30 10:29:11 2012
New Revision: 157693
URL: http://llvm.org/viewvc/llvm-project?rev=157693&view=rev
Log:
Be more verbose when installing the signals.
Modified:
compiler-rt/trunk/lib/asan/asan_posix.cc
Modified: compiler-rt/trunk/lib/asan/asan_posix.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_posix.cc?rev=157693&r1=157692&r2=157693&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_posix.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_posix.cc Wed May 30 10:29:11 2012
@@ -74,6 +74,9 @@
sigact.sa_flags = SA_SIGINFO;
if (FLAG_use_sigaltstack) sigact.sa_flags |= SA_ONSTACK;
CHECK(0 == REAL(sigaction)(signum, &sigact, 0));
+ if (FLAG_v >= 1) {
+ Report("Installed the sigaction for signal %d\n", signum);
+ }
}
static void ASAN_OnSIGSEGV(int, siginfo_t *siginfo, void *context) {
More information about the llvm-commits
mailing list