diff options
author | Steven Wu <stevenwu@apple.com> | 2019-04-08 18:24:10 +0000 |
---|---|---|
committer | Steven Wu <stevenwu@apple.com> | 2019-04-08 18:24:10 +0000 |
commit | 8b70a5c11e08116955a875b9085433f14737bcaf (patch) | |
tree | 24d6e3281caa50c44e36e472379f3761923e63b0 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 887865c1ad6e2a50251846a1ab907ec000271c17 (diff) | |
download | llvm-8b70a5c11e08116955a875b9085433f14737bcaf.zip llvm-8b70a5c11e08116955a875b9085433f14737bcaf.tar.gz llvm-8b70a5c11e08116955a875b9085433f14737bcaf.tar.bz2 |
[ThinLTO] Fix ThinLTOCodegenerator to export llvm.used symbols
Summary:
ThinLTOCodeGenerator currently does not preserve llvm.used symbols and
it can internalize them. In order to pass the necessary information to the
legacy ThinLTOCodeGenerator, the input to the code generator is
rewritten to be based on lto::InputFile.
This fixes: PR41236
rdar://problem/49293439
Reviewers: tejohnson, pcc, dexonsmith
Reviewed By: tejohnson
Subscribers: mehdi_amini, inglorion, eraman, hiraditya, jkorous, dang, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D60226
llvm-svn: 357931
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions