[llvm] [llvm][ELF]Add Shdr check for getBuildID (PR #126537)

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 02:24:08 PDT 2025


cabbaken wrote:

> Did you check to see if there was any boundary condition testing for this case?

I've added a unit test to ensure the function checks both the program header and the section header to retrieve the build ID.

To clarify, are you suggesting that I should also add an additional build ID check to the test file at `llvm/test/DebugInfo/symbolize-build-id.test`?

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


More information about the llvm-commits mailing list