[PATCH] D93082: Append ".__part.<ID>" to all basic block section symbols.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 22 16:04:44 PST 2020
MaskRay added a comment.
.L prefixed symbols will be discarded by the linker in the default mode (none of --discard-none/--discard-locals/--discard-all is specified).
So if you use .L (called PrivateGlobalPrefix in MC), this will work without any linker change (if possible I would hope we just make use of existing conventions instead of adding more linker rules).
For the string __uniq and __part, I am fine with them and actually prefer them if you have measured that they don't cause too mush bloat. The names are clearer than other alternatives like unary coding and special code points (e.g. LLVM IR names make use of \1)
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93082/new/
https://reviews.llvm.org/D93082
More information about the llvm-commits
mailing list