diff options
| author | Vitaly Buka <vitalybuka@google.com> | 2025-01-23 12:22:16 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-23 12:22:16 -0800 |
| commit | c4ca87ee78fa4f1978e018e6e3a260ac9aea399d (patch) | |
| tree | 1d313f3ca07c476903b2575b3ab3d069b5085580 /llvm/lib/CodeGen/MachineOperand.cpp | |
| parent | e10d551aa482ee185a80216b2670a2947a8bdeb0 (diff) | |
| download | llvm-c4ca87ee78fa4f1978e018e6e3a260ac9aea399d.zip llvm-c4ca87ee78fa4f1978e018e6e3a260ac9aea399d.tar.gz llvm-c4ca87ee78fa4f1978e018e6e3a260ac9aea399d.tar.bz2 | |
[yaml2obj] Don't use uninitialized Type (#123274)
Alternative to #123137
With -DMACHINE=EM_NONE, machine specific
sections, like SHT_ARM_EXIDX, will fall to parse
and set `Type`.
This triggers msan on
```
yaml2obj llvm-project/llvm/test/tools/yaml2obj/ELF/mips-abi-flags.yaml -DMACHINE=EM_NONE
```
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions
