According to the code model (ARM, Thumb, Thumb2) this patch updates the b/bl/blx 0 instructions with NOP.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
| lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp | ||
|---|---|---|
| 509 ↗ | (On Diff #23174) | The NOP instruction is supported by only limited number of ARM architectures. |
| 539 ↗ | (On Diff #23174) | Maybe better to log only successive fixups? Don't think the information about unresolved weaks is really useful. |
Comment Actions
LGTM with nits.
| lib/ReaderWriter/ELF/ARM/ARMRelocationHandler.cpp | ||
|---|---|---|
| 500 ↗ | (On Diff #23361) | The name of the function should reflect that you only fixup call-like instructions. |
| 539 ↗ | (On Diff #23361) | You mix *unresolved* with *undefined* in this whole fragment of added code. |
| 541 ↗ | (On Diff #23361) | result is a bad name for variable. Consider something having word fixed in it. |