diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2015-06-30 19:07:26 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2015-06-30 19:07:26 +0000 |
commit | 45a2401c04f41789c09f4a48bc640042daa5786e (patch) | |
tree | 7668606fb019936acfaca3e27886e0a8b9b5ea48 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | e5039b7b2a5f8c89af5597993f3dad55e3b249a3 (diff) | |
download | llvm-45a2401c04f41789c09f4a48bc640042daa5786e.zip llvm-45a2401c04f41789c09f4a48bc640042daa5786e.tar.gz llvm-45a2401c04f41789c09f4a48bc640042daa5786e.tar.bz2 |
CodeGen: Assign an appropriate comdat to thunks.
Previously we were not assigning a comdat to thunks in the Microsoft ABI,
which would have required us to emit these functions outside of a comdat.
(Due to an inconsistency in how we were emitting objects, we were getting this
right most of the time, but only when compiling with function sections.) This
code generator change causes us to create a comdat for each thunk.
Differential Revision: http://reviews.llvm.org/D10829
llvm-svn: 241102
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions