Fix GCC -Wcast-qual warnings
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 @@
}
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";
});