[llvm] Make llvm-nm's --export-symbols option work for ELF (PR #84379)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 13 21:29:59 PDT 2024
================
@@ -777,7 +778,7 @@ static void printSymbolList(SymbolicFile &Obj,
}
for (const NMSymbol &S : SymbolList) {
- if (!S.shouldPrint())
+ if (!S.shouldPrint(false /*OnlyExported*/))
----------------
MaskRay wrote:
canonical style: `/*OnlyExported=*/false`
https://github.com/llvm/llvm-project/pull/84379
More information about the llvm-commits
mailing list