[lld] [llvm] [llvm-objdump][ARM] Find ELF file PLT entries for arm, thumb (PR #130764)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 17 19:52:34 PDT 2025


================
@@ -1233,12 +1233,7 @@ addMissingWasmCodeSymbols(const WasmObjectFile &Obj,
   }
 }
 
-static void addPltEntries(const ObjectFile &Obj,
-                          std::map<SectionRef, SectionSymbolsTy> &AllSymbols,
-                          StringSaver &Saver) {
-  auto *ElfObj = dyn_cast<ELFObjectFileBase>(&Obj);
-  if (!ElfObj)
-    return;
+DenseMap<StringRef, SectionRef> getSectionNames(const ObjectFile &Obj) {
----------------
MaskRay wrote:

Add `static` https://llvm.org/docs/CodingStandards.html#restrict-visibility

https://github.com/llvm/llvm-project/pull/130764


More information about the llvm-commits mailing list