summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO/Inliner.cpp
diff options
context:
space:
mode:
authorRafael Auler <rafaelauler@gmail.com>2014-10-08 18:54:26 +0000
committerRafael Auler <rafaelauler@gmail.com>2014-10-08 18:54:26 +0000
commitce1af1a201c8dc05c05fd1f36a731e0a0fc5b43d (patch)
tree521b42d4afcee5557cc967700a372e40df2cdecd /llvm/lib/Transforms/IPO/Inliner.cpp
parente4320f5e6a1b4cd0f41bd58afb1f96849901333f (diff)
downloadbcm5719-llvm-ce1af1a201c8dc05c05fd1f36a731e0a0fc5b43d.tar.gz
bcm5719-llvm-ce1af1a201c8dc05c05fd1f36a731e0a0fc5b43d.zip
[ELF] Implement --export-dynamic/-E
When creating a dynamic executable and receiving the -E flag, the linker should export all globally visible symbols in its dynamic symbol table. This commit also moves the logic that exports symbols in the dynamic symbol table from OutputELFWriter to the ExecutableWriter class. It is not correct to leave this at OutputELFWriter because DynamicLibraryWriter, another subclass of OutputELFWriter, already exports all symbols, meaning we can potentially end up with duplicated symbols in the dynamic symbol table when creating shared libs. Reviewers: shankarke http://reviews.llvm.org/D5585 llvm-svn: 219334
Diffstat (limited to 'llvm/lib/Transforms/IPO/Inliner.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud