summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/Scalarizer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-11-22 16:14:30 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-11-22 16:14:30 +0000
commit55740325753ffc8b9220c736e52c71449ebf7110 (patch)
treee8e148ca9c38bb0b1bdf88669389cfa05d07cf49 /llvm/lib/Transforms/Scalar/Scalarizer.cpp
parentb516aae48ebd5dd806b51e26dec7da43f88ad571 (diff)
downloadbcm5719-llvm-55740325753ffc8b9220c736e52c71449ebf7110.tar.gz
bcm5719-llvm-55740325753ffc8b9220c736e52c71449ebf7110.zip
Convert linkonce* to weak* instead of strong.
Also refactor the logic into a helper function. This is an important improvement on mingw where the linker complains about mixed weak and strong symbols. Converting to weak ensures that the symbol is not dropped, but keeps in a comdat, making the linker happy. llvm-svn: 195470
Diffstat (limited to 'llvm/lib/Transforms/Scalar/Scalarizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud