[PATCH] [RFC] Print exact source locations of global variables in ASan error reports.
Kostya Serebryany
kcc at google.com
Fri Jun 20 00:45:53 PDT 2014
looks good once you bump the version of __asan_init, but please also wait for glider's review.
================
Comment at: projects/compiler-rt/lib/asan/asan_interface_internal.h:53
@@ -44,1 +52,3 @@
uptr has_dynamic_init; // Non-zero if the global has dynamic initializer.
+ __asan_global_source_location *location; // Source location of a global,
+ // or NULL if it is unknown.
----------------
you need to bump the version of __asan_init_vN
http://reviews.llvm.org/D4203
More information about the cfe-commits
mailing list