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.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 14813 Build 14813: arc lint + arc unit
Event Timeline
Comment Actions
LGTM although I have a suggestion on where to move the new code.
lib/Transforms/IPO/FunctionImport.cpp | ||
---|---|---|
693 | Suggest moving the new check down into this else, which is the only condition under which it could be true, to avoid unnecessary checking. |
Suggest moving the new check down into this else, which is the only condition under which it could be true, to avoid unnecessary checking.