Fail gracefully instead of crashing upon encountering
this type of relocation.
Details
Details
Diff Detail
Diff Detail
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 | 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. |
Nit: Mips does not support one byte fixups -> MIPS does not support one byte relocations