[compiler-rt] [llvm] [InstrProf] Add debuginfod correlation support (PR #106606)

via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 10:27:35 PDT 2024


gulfemsavrun wrote:

> 1. Does the debuginfod correlation support work with both debug info and binary correlation? Looks like it only works with binary correlation in this change. I guess it won't be difficult to make it work with debug info correlation as well.

Thanks for the suggestion, and I extended my patch to support debuginfo correlation as well. It should work for both binary correlation and debuginfo correlation. I was just prototyping and testing it with binary correlation.

> 2. How does the new flag  `--debug-file-directory` interact with existing flag `--binary-file` which specifies just one unstripped binary?

Currently, I disallow mixing these flags. So, we can either correlate with `--debug-info`, `--binary-file` or `debuginfod` (or `--debug-file-directory`) at the moment. If we are interested in mixing them, we should have a discussion.



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


More information about the llvm-commits mailing list