aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-01-13 00:52:25 +0000
committerChris Lattner <sabre@nondot.org>2003-01-13 00:52:25 +0000
commit3cf5db73c7382c7236256779513fdeb1075f2f16 (patch)
tree0f1312f9795b399f1c541fef70df2252ba6020e6 /lib
parent80e5ed9f77d1f9c2fe1b35602ce96dc4612d4710 (diff)
downloadexternal_llvm-3cf5db73c7382c7236256779513fdeb1075f2f16.zip
external_llvm-3cf5db73c7382c7236256779513fdeb1075f2f16.tar.gz
external_llvm-3cf5db73c7382c7236256779513fdeb1075f2f16.tar.bz2
Add debugging helper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5235 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Transforms/Utils/ValueMapper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Transforms/Utils/ValueMapper.cpp b/lib/Transforms/Utils/ValueMapper.cpp
index 517a352..b54a1a0 100644
--- a/lib/Transforms/Utils/ValueMapper.cpp
+++ b/lib/Transforms/Utils/ValueMapper.cpp
@@ -81,7 +81,8 @@ Value *MapValue(const Value *V, std::map<const Value*, Value*> &VM) {
assert(0 && "Unknown type of constant!");
}
}
-
+
+ V->dump();
assert(0 && "Unknown value type: why didn't it get resolved?!");
return 0;
}