[llvm] Move a lot of symbol code to use the symbol string pool (PR #115796)
Jared Wyles via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 3 15:22:20 PST 2024
================
@@ -82,7 +83,7 @@ class ELFJITLinker_i386 : public JITLinker<ELFJITLinker_i386> {
// Check for an existing defined symbol.
for (auto *Sym : GOTSection->symbols())
- if (Sym->getName() == ELFGOTSymbolName) {
+ if (Sym->getName() != nullptr && *Sym->getName() == ELFGOTSymbolName) {
----------------
jaredwy wrote:
All the above is on my post landing hit list.
https://github.com/llvm/llvm-project/pull/115796
More information about the llvm-commits
mailing list