[PATCH] Add comdat key field to llvm.global_ctors and llvm.global_dtors

Reid Kleckner rnk at google.com
Mon Apr 28 13:36:23 PDT 2014


ping


On Thu, Apr 24, 2014 at 5:53 PM, Reid Kleckner <rnk at google.com> wrote:

> Hi nicholas, nlewycky,
>
> This allows us to put dynamic initializers for weak data into the same
> comdat group as the data being initialized.  This is necessary for MSVC
> ABI compatibility.  It should also allow GlobalOpt to fire more often
> weak data on other platforms if we can sort out the initialization of
> the guard variable.
>
> http://reviews.llvm.org/D3499
>
> Files:
>   docs/LangRef.rst
>   include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
>   include/llvm/Target/TargetLoweringObjectFile.h
>   lib/CodeGen/AsmPrinter/AsmPrinter.cpp
>   lib/CodeGen/TargetLoweringObjectFileImpl.cpp
>   lib/IR/Verifier.cpp
>   lib/Transforms/IPO/GlobalOpt.cpp
>   test/MC/COFF/global_ctors_dtors.ll
>   test/Transforms/GlobalOpt/ctor-list-opt.ll
>   test/Verifier/global-ctors.ll
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140428/09f97c4c/attachment.html>


More information about the llvm-commits mailing list