summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/JITLink/JITLink_MachO_x86_64.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/JITLink/JITLink_MachO_x86_64.cpp b/llvm/lib/ExecutionEngine/JITLink/JITLink_MachO_x86_64.cpp
index 857885bee10..50bbe4b0c75 100644
--- a/llvm/lib/ExecutionEngine/JITLink/JITLink_MachO_x86_64.cpp
+++ b/llvm/lib/ExecutionEngine/JITLink/JITLink_MachO_x86_64.cpp
@@ -88,7 +88,10 @@ private:
}
return make_error<JITLinkError>(
- "Unsupported x86-64 relocation: kind=" + formatv("{0:x1}", RI.r_type) +
+ "Unsupported x86-64 relocation: address=" +
+ formatv("{0:x8}", RI.r_address) +
+ ", symbolnum=" + formatv("{0:x6}", RI.r_symbolnum) +
+ ", kind=" + formatv("{0:x1}", RI.r_type) +
", pc_rel=" + (RI.r_pcrel ? "true" : "false") +
", extern= " + (RI.r_extern ? "true" : "false") +
", length=" + formatv("{0:d}", RI.r_length));
OpenPOWER on IntegriCloud