================ Comment at: lib/asan/asan_report.cc:994 @@ +993,3 @@ +int __asan_report_present() { + return report_data.already_happened ? 1 : 0; +} ---------------- BTW why this function returns int, not bool? http://reviews.llvm.org/D4527