Fail gracefully instead of crashing upon encountering
this type of relocation.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Two additional nits to the ones inlined, rather that use the term 'illegal' say 'unsupported', this goes for the title as well as the test file name.
Also, the summary should be "Fail gracefully" rather than "Exit gracefully".
Otherwise LGTM.
lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp | ||
---|---|---|
229 ↗ | (On Diff #129052) | Nit: Mips does not support one byte fixups -> MIPS does not support one byte relocations |
test/MC/Mips/illegal-relocation.s | ||
3 ↗ | (On Diff #129052) | Nit: description. |