[PATCH] D31314: [asan] Delay creation of asan ctor.

Evgeniy Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 23 17:36:01 PDT 2017


eugenis created this revision.

Create the constructor in the module pass.
This in needed for the GC-friendly globals change, where the constructor can be
put in a comdat  in some cases, but we don't know about that in the function
pass.


Repository:
  rL LLVM

https://reviews.llvm.org/D31314

Files:
  include/llvm/Transforms/Utils/ModuleUtils.h
  lib/Transforms/Instrumentation/AddressSanitizer.cpp
  lib/Transforms/Utils/ModuleUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D31314.92888.patch
Type: text/x-patch
Size: 5590 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170324/0114ae41/attachment.bin>


More information about the llvm-commits mailing list