summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2015-01-27 00:22:36 +0000
committerGreg Clayton <gclayton@apple.com>2015-01-27 00:22:36 +0000
commit199e7c125e5479968e9608c6318c391ff54ee2e4 (patch)
tree492d50393a521ebabb54e941bf95444e85ad619b /llvm/lib
parentad49878697fdfbc710520098b425951cdad9d962 (diff)
downloadbcm5719-llvm-199e7c125e5479968e9608c6318c391ff54ee2e4.tar.gz
bcm5719-llvm-199e7c125e5479968e9608c6318c391ff54ee2e4.zip
Fix the test to disassemble as if at address zero, not at an invalid address. The default SBAddress constructor sets the offset to 0xffffffffffffffff and the section to NULL.
This was causing problems on clang 602 branches that use MemoryObjects to as the container for opcode bytes instead of a plain array of bytes. So we were asking for 3 bytes to be disassembled at address 0xffffffffffffffff which would cause an unsigned overflow and cause the MemoryObject to refuse to read anymore bytes. llvm-svn: 227153
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud