Skip to content

Commit e383004

Browse files
committed
Add debug info for local vars, basic fundamental types, and lexical blocks, along with source line information generation for individual instructions.
1 parent 10030a3 commit e383004

File tree

6 files changed

+561
-153
lines changed

6 files changed

+561
-153
lines changed

src/comp/lib/llvm.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,9 +234,11 @@ native mod llvm {
234234
/* Operations on other types */
235235
fn LLVMVoidTypeInContext(C: ContextRef) -> TypeRef;
236236
fn LLVMLabelTypeInContext(C: ContextRef) -> TypeRef;
237+
fn LLVMMetadataTypeInContext(C: ContextRef) -> TypeRef;
237238

238239
fn LLVMVoidType() -> TypeRef;
239240
fn LLVMLabelType() -> TypeRef;
241+
fn LLVMMetadataType() -> TypeRef;
240242

241243
/* Operations on all values */
242244
fn LLVMTypeOf(Val: ValueRef) -> TypeRef;

0 commit comments

Comments
 (0)