[llvm] [llvm-symbolizer] Have --obj participate in markup resolution (PR #183444)
Joshua Seaton via llvm-commits
llvm-commits at lists.llvm.org
Sun Mar 8 18:34:19 PDT 2026
================
@@ -769,6 +769,12 @@ LLVMSymbolizer::getOrCreateModuleInfo(StringRef ModuleName) {
}
ObjectPair Objects = ObjectsOrErr.get();
+ // Register the build ID so that build-ID-based lookups (e.g., from
+ // --filter-markup) can resolve to this path.
+ BuildIDRef BID = getBuildID(Objects.first);
+ if (!BID.empty())
+ BuildIDPaths[getBuildIDStr(BID)] = std::string(BinaryName);
----------------
joshuaseaton wrote:
Done! Would you like me to add mention of the `.gnu_debuglink`-related behavior? If, so any suggested comment? (I'm not sure I understand what's involved there at the moment)
https://github.com/llvm/llvm-project/pull/183444
More information about the llvm-commits
mailing list