summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-05 00:22:28 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-05 00:22:28 +0000
commit33ba5e78d2679d989dd5bbab0d5274b736ac6d1e (patch)
tree148ae3226a5397686ac8822851e8cc43f14e648f /llvm/lib/ExecutionEngine
parent076e048cf7bb8ca017c5b688eb22a4d5d43f3ab7 (diff)
downloadbcm5719-llvm-33ba5e78d2679d989dd5bbab0d5274b736ac6d1e.tar.gz
bcm5719-llvm-33ba5e78d2679d989dd5bbab0d5274b736ac6d1e.zip
Debugging output tweak.
llvm-svn: 58737
Diffstat (limited to 'llvm/lib/ExecutionEngine')
-rw-r--r--llvm/lib/ExecutionEngine/ExecutionEngine.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
index ad8dcfb9236..18d44816fcf 100644
--- a/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
+++ b/llvm/lib/ExecutionEngine/ExecutionEngine.cpp
@@ -94,7 +94,7 @@ Function *ExecutionEngine::FindFunctionNamed(const char *FnName) {
void ExecutionEngine::addGlobalMapping(const GlobalValue *GV, void *Addr) {
MutexGuard locked(lock);
- DOUT << "Map " << *GV << " to " << Addr << "\n";
+ DOUT << "Map \'" << GV->getNameStart() << "\' to " << Addr << "\n";
void *&CurVal = state.getGlobalAddressMap(locked)[GV];
assert((CurVal == 0 || Addr == 0) && "GlobalMapping already established!");
CurVal = Addr;
@@ -839,7 +839,7 @@ void ExecutionEngine::LoadValueFromMemory(GenericValue &Result,
// specified memory location...
//
void ExecutionEngine::InitializeMemory(const Constant *Init, void *Addr) {
- DOUT << "Initializing " << Addr;
+ DOUT << "Initializing " << Addr << " ";
DEBUG(Init->dump());
if (isa<UndefValue>(Init)) {
return;
OpenPOWER on IntegriCloud