about summary refs log tree commit diff
path: root/src/comp/lib
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2011-11-15 21:11:22 -0500
committerJosh Matthews <josh@joshmatthews.net>2011-12-18 23:41:03 -0500
commite383004985a5d725cec91cc48793284eedbcdbce (patch)
treeb336f479402c26e0776e213dd0ba153cb392e18f /src/comp/lib
parent10030a37d50f5c3ae681709598be201153e0b1e5 (diff)
downloadrust-e383004985a5d725cec91cc48793284eedbcdbce.tar.gz
rust-e383004985a5d725cec91cc48793284eedbcdbce.zip
Add debug info for local vars, basic fundamental types, and lexical blocks, along with source line information generation for individual instructions.
Diffstat (limited to 'src/comp/lib')
-rw-r--r--src/comp/lib/llvm.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/comp/lib/llvm.rs b/src/comp/lib/llvm.rs
index b090fb74644..c0fe027f39b 100644
--- a/src/comp/lib/llvm.rs
+++ b/src/comp/lib/llvm.rs
@@ -234,9 +234,11 @@ native mod llvm {
     /* Operations on other types */
     fn LLVMVoidTypeInContext(C: ContextRef) -> TypeRef;
     fn LLVMLabelTypeInContext(C: ContextRef) -> TypeRef;
+    fn LLVMMetadataTypeInContext(C: ContextRef) -> TypeRef;
 
     fn LLVMVoidType() -> TypeRef;
     fn LLVMLabelType() -> TypeRef;
+    fn LLVMMetadataType() -> TypeRef;
 
     /* Operations on all values */
     fn LLVMTypeOf(Val: ValueRef) -> TypeRef;