aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp')
-rw-r--r--llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp b/llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
index 2336038..c9e87ff 100644
--- a/llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
+++ b/llvm/lib/ExecutionEngine/Orc/DebugUtils.cpp
@@ -42,8 +42,8 @@ DumpObjects::operator()(std::unique_ptr<MemoryBuffer> Obj) {
}
LLVM_DEBUG({
- dbgs() << "Dumping object buffer [ " << (void *)Obj->getBufferStart()
- << " -- " << (void *)(Obj->getBufferEnd() - 1) << " ] to "
+ dbgs() << "Dumping object buffer [ " << (const void *)Obj->getBufferStart()
+ << " -- " << (const void *)(Obj->getBufferEnd() - 1) << " ] to "
<< DumpPath << "\n";
});