Weak symbols are typically zero. Don't use them in simplification.
Follow-up to D152944.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D153063
[BOLT] Check if the symbol is not weak in simplify-rodata-loads Needs ReviewPublic Authored by Amir on Jun 15 2023, 12:05 PM.
Revision Contents
Diff 531862 bolt/include/bolt/Core/BinaryData.h
bolt/lib/Core/BinaryData.cpp
bolt/lib/Passes/BinaryPasses.cpp
|