[llvm] [llvm-cov] Add --debug-info flag to llvm-cov to lookup debug info file. (PR #66798)

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 11:19:55 PDT 2023


dwblaikie wrote:

> > Should this be able to work implicitly, same as a debugger? (presumably there's some logic (both as a concept, but concretely as code in lldb or somewhere similar) that knows how to find dsyms when they're in some standard layout (presumably `binary_name` has `binary_name.dsym` next to it, maybe some search path too)) Not sure if the debugger even has a way to explicitly tell it where a dsym is - and if it doesn't, probably not suitable to add such a thing to other debug info-consuming tools?
> 
> Yes, and `llvm-cov` already supports it through the `BuildIDFetcher` interface that @mysterymath created, we just need to wire it up.

Should we do that ("wire it up") instead of this patch, or is this patch part of that, or is there some motivation to do both?

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


More information about the llvm-commits mailing list