summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-03-29 00:15:52 +0000
committerDavide Italiano <davide@freebsd.org>2016-03-29 00:15:52 +0000
commit04d6aa2b38daab53a03147c9c24cbc9c738b0fec (patch)
tree51a180cc870a4647f45cd2d3dda43fa126d52b51 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
parent7646ebe6f9a56ddade39bbb5c685b72be948fa37 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud