summaryrefslogtreecommitdiffstats
path: root/llvm/test/DebugInfo/Inputs
diff options
context:
space:
mode:
authorSagar Thakur <sagar.thakur@imgtec.com>2016-05-24 09:57:10 +0000
committerSagar Thakur <sagar.thakur@imgtec.com>2016-05-24 09:57:10 +0000
commit672c710de4aaa64a99c8bc08a67f351c1fa932d6 (patch)
tree6a1d4b436f348697b4ad3dc58dc649d57b606cf7 /llvm/test/DebugInfo/Inputs
parent6a6185fd78a61eb2a2f05beefe17b67feed86de0 (diff)
downloadbcm5719-llvm-672c710de4aaa64a99c8bc08a67f351c1fa932d6.tar.gz
bcm5719-llvm-672c710de4aaa64a99c8bc08a67f351c1fa932d6.zip
[MIPS][LLVM-MC] Fix Disassemble of Negative Offset
Patch by Nitesh Jain. Summary: The type of Imm in MipsDisassembler.cpp was incorrect since SignExtend64 return int64_t type.As per the MIPSr6 doc ,the offset is added to the address of the instruction following the branch (not the branch itself), to form a PC-relative effective target address hence “4” is added to the offset. The offset of some test case are update to reflect the changes due to “ + 4 ” offset and new test case for negative offset are added. Reviewers: dsanders, vkalintiris Differential Revision: http://reviews.llvm.org/D17540 llvm-svn: 270542
Diffstat (limited to 'llvm/test/DebugInfo/Inputs')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud