aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Module.cpp
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2017-04-11 00:18:42 +0000
committerHal Finkel <hfinkel@anl.gov>2017-04-11 00:18:42 +0000
commit55379ab8c719efc27c525dbc73dbb6b186f88724 (patch)
tree717af4d33a4c0c05bbb8a264368736ba342d6dd3 /llvm/lib/IR/Module.cpp
parent76ad7d6e242011d59d7341e2c78ea5df6cff0251 (diff)
downloadllvm-55379ab8c719efc27c525dbc73dbb6b186f88724.zip
llvm-55379ab8c719efc27c525dbc73dbb6b186f88724.tar.gz
llvm-55379ab8c719efc27c525dbc73dbb6b186f88724.tar.bz2
[bugpoint] Also remove comdat's from externalized GVs
We were removing comdats from externalized functions (function declarations can't be comdat), but were not doing the same for variable. Failure to do this would cause bugpoint to fail ("Declaration may not be in a Comdat!"). llvm-svn: 299908
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions