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

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 19 03:16:45 PDT 2025


cabbaken wrote:

Thanks for the reminder about why an invalid program header causes llvm-objdump to crash.

What would be the best approach for the test? Should I add a new test case to llvm/test/tools/llvm-objdump/ELF/program-headers.test, or is it better to modify an existing one?

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


More information about the llvm-commits mailing list