[PATCH] D18109: Prevent GlobalOpts from dropping ASANitized global variables

Duncan P. N. Exon Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 11 16:52:24 PST 2016


dexonsmith added a subscriber: dexonsmith.
dexonsmith added a comment.

Ugh, this is ugly.  We should really start using a !dbg attachment on
global variables, much like we changed functions.  Then ASan can update
the attachment (if necessary), and we don't rely on RAUW to get things
right.  (I'm not sure that needs to happen before we fix this bug.)

Comments inline.


Repository:
  rL LLVM

http://reviews.llvm.org/D18109





More information about the llvm-commits mailing list