[PATCH] [compiler-rt] ASan debugging API for report info extraction and locating addresses
kuba.brecka at gmail.com
Wed Jul 16 13:41:41 PDT 2014
Comment at: lib/asan/asan_report.cc:947
@@ +946,3 @@
+ ScopedInErrorReport in_report;
Kostya Serebryany wrote:
> why did you move this here?
Because ScopedInErrorReport's constructor does things where I'd like the report data to already be available. Namely, it calls __asan_on_error, which seems like the only sensible place for a breakpoint *before* the actual report is printed (I'm using it in the debug_report.cc test case).
More information about the llvm-commits