diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 10:51:19 +0000 |
commit | eb11fae6d08f479c0799db45860a98af528fa6e7 (patch) | |
tree | 44d492a50c8c1a7eb8e2d17ea3360ec4d066f042 /lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp | |
parent | b8a2042aa938069e862750553db0e4d82d25822c (diff) | |
download | src-eb11fae6d08f479c0799db45860a98af528fa6e7.tar.gz src-eb11fae6d08f479c0799db45860a98af528fa6e7.zip |
Vendor import of llvm trunk r338150:vendor/llvm/llvm-trunk-r338150
Notes
Notes:
svn path=/vendor/llvm/dist/; revision=336809
svn path=/vendor/llvm/llvm-trunk-r338150/; revision=336814; tag=vendor/llvm/llvm-trunk-r338150
Diffstat (limited to 'lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp')
-rw-r--r-- | lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp b/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp index 19d0ba2e1c41..6e64fc9347b9 100644 --- a/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp +++ b/lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp @@ -99,8 +99,8 @@ bool AArch64ExternalSymbolizer::tryAddingSymbolicOperand( EncodedInst |= MCRI.getEncodingValue(MI.getOperand(0).getReg()); // reg SymbolLookUp(DisInfo, EncodedInst, &ReferenceType, Address, &ReferenceName); - CommentStream << format("0x%llx", - 0xfffffffffffff000LL & (Address + Value)); + CommentStream << format("0x%llx", (0xfffffffffffff000LL & Address) + + Value * 0x1000); } else if (MI.getOpcode() == AArch64::ADDXri || MI.getOpcode() == AArch64::LDRXui || MI.getOpcode() == AArch64::LDRXl || |