diff options
| author | Nick Kledzik <kledzik@apple.com> | 2014-11-18 22:08:50 +0000 |
|---|---|---|
| committer | Nick Kledzik <kledzik@apple.com> | 2014-11-18 22:08:50 +0000 |
| commit | 2020efb9fe9403967be9f99b14f464131dfc12e6 (patch) | |
| tree | 136ca7e3ff0cd9092b3eb55167b2ef61c066ff2d /lldb/source/Commands/CommandObjectCommands.cpp | |
| parent | c6b8e20a5c59d8635ecf7141e700dafae782602e (diff) | |
| download | llvm-2020efb9fe9403967be9f99b14f464131dfc12e6.zip llvm-2020efb9fe9403967be9f99b14f464131dfc12e6.tar.gz llvm-2020efb9fe9403967be9f99b14f464131dfc12e6.tar.bz2 | |
[mach-o] for 32-bit arm, in -r mode support B (not BL) to undefined symbol
When fixing up BL instructions, the linker has to compare the thumbness of the
target to decide if the instruction needs to be converted to BLX. But with B
instruction there is no BX, so the linker asserts if the target is not the
same thumbness. This assert was firing in -r mode when the target was undefined
which it interpreted as being non-thumb.
Test case change is to add a B (in both thumb and arm code) to an undefined
symbol and round trip through -r mode.
llvm-svn: 222266
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions
