summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGordon Henriksen <gordonhenriksen@mac.com>2007-10-06 00:08:49 +0000
committerGordon Henriksen <gordonhenriksen@mac.com>2007-10-06 00:08:49 +0000
commit1d0d24c4fd9e42fc2d8e1ba15c2c06edf810fc81 (patch)
tree94db6873904d7f322bf56b7488412755077cb5d6 /llvm/lib
parent7330acdec79705e673ea0e09f31d808473e919ae (diff)
downloadbcm5719-llvm-1d0d24c4fd9e42fc2d8e1ba15c2c06edf810fc81.tar.gz
bcm5719-llvm-1d0d24c4fd9e42fc2d8e1ba15c2c06edf810fc81.zip
Wrapping Value::dump.
llvm-svn: 42668
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/VMCore/Core.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/VMCore/Core.cpp b/llvm/lib/VMCore/Core.cpp
index b6a825462ae..c63534df6c6 100644
--- a/llvm/lib/VMCore/Core.cpp
+++ b/llvm/lib/VMCore/Core.cpp
@@ -194,6 +194,10 @@ void LLVMSetValueName(LLVMValueRef Val, const char *Name) {
unwrap(Val)->setName(Name);
}
+void LLVMDumpValue(LLVMValueRef Val) {
+ unwrap(Val)->dump();
+}
+
/*--.. Operations on constants of any type .................................--*/
LLVMValueRef LLVMGetNull(LLVMTypeRef Ty) {
OpenPOWER on IntegriCloud