[llvm] [yaml2obj] Don't use uninitialized Type (PR #123274)
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 16 18:51:30 PST 2025
vitalybuka wrote:
@jh7370 I don't this is significantly different https://github.com/llvm/llvm-project/pull/123137
I don't see the bug you described, TypeStr is not empty.
And we can't bailout on error(), as without `default:` it crashes on other assertions.
For reference, this is existing llvm-project/llvm/test/tools/yaml2obj/ELF/mips-abi-flags.yaml
https://github.com/llvm/llvm-project/pull/123274
More information about the llvm-commits
mailing list