diff options
author | Steven Wu <stevenwu@apple.com> | 2018-02-09 18:34:08 +0000 |
---|---|---|
committer | Steven Wu <stevenwu@apple.com> | 2018-02-09 18:34:08 +0000 |
commit | 33ba93c2b5e6fd8a4d9663a9b50ace9e104ef50d (patch) | |
tree | f305cc9e9bb0e0c0737a5ce2d1af59a4ad88a948 /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 37a9889309ae533bc5aa9609e108eb8d306f445b (diff) | |
download | llvm-33ba93c2b5e6fd8a4d9663a9b50ace9e104ef50d.zip llvm-33ba93c2b5e6fd8a4d9663a9b50ace9e104ef50d.tar.gz llvm-33ba93c2b5e6fd8a4d9663a9b50ace9e104ef50d.tar.bz2 |
[ThinLTO] Teach ThinLTO about auto hide symbols
Summary:
For symbols that has linkonce_odr linkage and unnamed_addr, it can be
auto hide by linker to avoid weak external symbols. Teach ThinLTO to
perform auto hide so it can safely promote linkonce_odr to weak symbols
without breaking this nice property.
Reviewers: tejohnson, mehdi_amini
Reviewed By: tejohnson
Subscribers: inglorion, eraman, rnk, pcc, llvm-commits
Differential Revision: https://reviews.llvm.org/D43130
llvm-svn: 324757
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions