diff options
Diffstat (limited to 'src/zig_llvm.cpp')
| -rw-r--r-- | src/zig_llvm.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp index 6ef2cace17..6e8f571030 100644 --- a/src/zig_llvm.cpp +++ b/src/zig_llvm.cpp @@ -211,6 +211,17 @@ LLVMZigDILexicalBlock *LLVMZigCreateLexicalBlock(LLVMZigDIBuilder *dbuilder, LLV return reinterpret_cast<LLVMZigDILexicalBlock*>(result); } +/* +LLVMZigDILocalVariable * + + DILocalVariable *createLocalVariable(unsigned Tag, DIScope *Scope, + StringRef Name, DIFile *File, + unsigned LineNo, DIType *Ty, + bool AlwaysPreserve = false, + unsigned Flags = 0, + unsigned ArgNo = 0); + */ + LLVMZigDIScope *LLVMZigLexicalBlockToScope(LLVMZigDILexicalBlock *lexical_block) { DIScope *scope = reinterpret_cast<DILexicalBlock*>(lexical_block); return reinterpret_cast<LLVMZigDIScope*>(scope); |
