"llvm/git@repo.hca.bsc.es:lalbano/llvm-bpevl.git" did not exist on "8be9f4af4f3000b49c8cc5ed0d4907806fce481c"
The disassembler impl. of MCDisassembler::getInstruction() was using the pattern
uint32_t insn; MemoryObject.readBytes(Address, 4, (uint8_t*)&insn, NULL) to read 4 bytes of memory contents into a 32-bit uint variable. This leaves the interpretation of byte order up to the host machine and causes PPC test cases of arm-tests, neon-tests, and thumb-tests to fail. Fixed to use a byte array for reading the memory contents and shift the bytes into place for the 32-bit uint variable in the ARM case and 16-bit halfword in the Thumb case. llvm-svn: 100403
Loading
Please register or sign in to comment