summaryrefslogtreecommitdiffstats
path: root/llvm/include/llvm-c
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-02 00:16:38 +0000
committerOwen Anderson <resistor@mac.com>2009-07-02 00:16:38 +0000
commitf7691d398dd2c240eb6b01fbe2bfd07ef7a923ee (patch)
tree7904ef649460fd8e1c7a1656f812fa0ab53825cb /llvm/include/llvm-c
parentf4f2f14f573db5349fc7e082f79b9d9be2197fe2 (diff)
downloadbcm5719-llvm-f7691d398dd2c240eb6b01fbe2bfd07ef7a923ee.tar.gz
bcm5719-llvm-f7691d398dd2c240eb6b01fbe2bfd07ef7a923ee.zip
Add a C wrapper for accessing the global default context.
llvm-svn: 74675
Diffstat (limited to 'llvm/include/llvm-c')
-rw-r--r--llvm/include/llvm-c/Core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/include/llvm-c/Core.h b/llvm/include/llvm-c/Core.h
index 7019b4cc660..c022c101775 100644
--- a/llvm/include/llvm-c/Core.h
+++ b/llvm/include/llvm-c/Core.h
@@ -195,6 +195,7 @@ void LLVMDisposeMessage(char *Message);
/* Create and destroy contexts. */
LLVMContextRef LLVMContextCreate();
+LLVMContextRef LLVMGetGlobalContext();
void LLVMContextDispose(LLVMContextRef C);
/* Create and destroy modules. */
OpenPOWER on IntegriCloud