[llvm] [Object][Wasm] Guard relocation diagnostics against out-of-range indexes (PR #204872)
KIM SO JUNG via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 04:00:30 PDT 2026
================
----------------
sjg-388 wrote:
Moved the test to llvm/test/Object/Wasm/bad-relocation.yaml as suggested.
The new test case adds a second YAML document with an out-of-range relocation
index (13) to the existing file, which already covers the in-bounds type
mismatch case.
Also removed llvm/test/tools/llvm-readobj/wasm/invalid-reloc-symbol-index.test
as it is superseded by the updated bad-relocation.yaml.
https://github.com/llvm/llvm-project/pull/204872
More information about the llvm-commits
mailing list