[PATCH] [RFC] Print exact source locations of global variables in ASan error reports.

Alexey Samsonov vonosmas at gmail.com
Mon Jun 23 23:24:37 PDT 2014


================
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.
----------------
Kostya Serebryany wrote:
> you need to bump the version of __asan_init_vN
Done.

http://reviews.llvm.org/D4203






More information about the cfe-commits mailing list