aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/APInt.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-04-19 01:48:36 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-04-19 01:48:36 +0000
commitb96d9b3419161694e91a106354253f8ab3525c87 (patch)
treedbf09b43f9f1d7e6510d435cbbc295702ce1dabb /llvm/lib/Support/APInt.cpp
parent14ada6d1ad8def80e7a8937dc47a959e026477c4 (diff)
downloadllvm-b96d9b3419161694e91a106354253f8ab3525c87.zip
llvm-b96d9b3419161694e91a106354253f8ab3525c87.tar.gz
llvm-b96d9b3419161694e91a106354253f8ab3525c87.tar.bz2
MergeFunc: preserve COMDAT information when creating a thunk
We would previously drop the COMDAT on the thunk we generated when replacing a function body with the forwarding thunk. This would result in a function that may have been multiply emitted and multiply merged to be emitted with the same name without the COMDAT. This is a hard error with PE/COFF where the COMDAT is used for the deduplication of Value Witness functions for Swift. llvm-svn: 358728
Diffstat (limited to 'llvm/lib/Support/APInt.cpp')
0 files changed, 0 insertions, 0 deletions