r208128 - Include translation unit filename in global ctor symbol names.

Reid Kleckner rnk at google.com
Tue May 6 16:49:51 PDT 2014


On Tue, May 6, 2014 at 3:39 PM, Alexey Samsonov <samsonov at google.com> wrote:

> Correct, _GLOBAL__I_a is hardcoded in ASan instrumentation pass. I'm not
> opposed to the change, just curious - what
> parts of ASan reports would you like to improve? Generally, there's at
> least __cxx_global_var_initN function in the report, which
> has the correct file name in the debug info.
>

There was a user that accidentally built with -g0, and the
__cxx_global_var_initN function got inlined away.  We don't really have to
support users of -g0, of course, but if it would've been useful to two
people, what the heck, let's mangle in the basename.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140506/3e7ac649/attachment.html>


More information about the cfe-commits mailing list