summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test/asan/TestCases/Darwin/crashlog-stacktraces.c
Commit message (Collapse)AuthorAgeFilesLines
* [asan] Disable the test on i386 Darwin.Anna Zaks2015-11-201-0/+5
| | | | | | | | This test checks if we can print a backtrace from the death callback. On old OS X versions, backtrace is not able to symbolicate the trace past the ASan runtime because we build with -fomit-frame-pointer. llvm-svn: 253729
* Fix/workaround for OS X truncated stacktraces taken by external toolsKuba Brecka2015-01-221-0/+43
This patch is a proposed solution for https://code.google.com/p/address-sanitizer/issues/detail?id=375: When the stacktraces are captured and printed by ASan itself, they are fine, but when the program has already printed the report (or is just printing it), capturing a stacktrace via other means is broken. "Other means" include OS X CrashReporter, debuggers or calling backtrace() within the program. For example calling backtrace() from a sanitizer_set_death_callback function prints a very truncated stacktrace. Reviewed at http://reviews.llvm.org/D7103 llvm-svn: 226878
OpenPOWER on IntegriCloud