diff options
author | Davide Italiano <davide@freebsd.org> | 2016-03-29 00:15:52 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-03-29 00:15:52 +0000 |
commit | 04d6aa2b38daab53a03147c9c24cbc9c738b0fec (patch) | |
tree | 51a180cc870a4647f45cd2d3dda43fa126d52b51 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp | |
parent | 7646ebe6f9a56ddade39bbb5c685b72be948fa37 (diff) | |
download | bcm5719-llvm-04d6aa2b38daab53a03147c9c24cbc9c738b0fec.tar.gz bcm5719-llvm-04d6aa2b38daab53a03147c9c24cbc9c738b0fec.zip |
[LTO] Include in .symtab/.dynsym symbols introduced by optimizations.
Some optimizations, e.g. SimplifyLibCalls, can replace functions with
others as part of the lowering, e.g. printf => puts.
The new symbols don't have the isUsedInRegularObj flag set so they
don't get included in the final symbol table (and dynamic symbol
table), and the dynamic linker gets confused. Include them as a fix.
Differential Revision: http://reviews.llvm.org/D18357
llvm-svn: 264688
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp')
0 files changed, 0 insertions, 0 deletions