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

Ruoyu Qiu via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 13 03:14:04 PST 2025


cabbaken wrote:

> The code change now looks good to me, but I think you need a test case for the new behaviour. This test should fail without your code change and pass with it.

I will add the test file in the next commit, I'm working on it now.

> Also, does this fix the crash from the original input in the bug?

Yes, I tested that and it works properly!

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


More information about the llvm-commits mailing list