aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.hpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2015-12-16 17:11:35 -0700
committerAndrew Kelley <superjoe30@gmail.com>2015-12-16 17:11:35 -0700
commite4cb28dbf2d0bc70581502d751ba9e4f7a46ed93 (patch)
tree632db4aa17921b6fbb256b2c5d9bf0c5735a02c5 /src/zig_llvm.hpp
parent4d45d14b557365bfb5b9059347ec144784d481b7 (diff)
downloadzig-e4cb28dbf2d0bc70581502d751ba9e4f7a46ed93.tar.gz
zig-e4cb28dbf2d0bc70581502d751ba9e4f7a46ed93.zip
structs have debug information
Diffstat (limited to 'src/zig_llvm.hpp')
-rw-r--r--src/zig_llvm.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/zig_llvm.hpp b/src/zig_llvm.hpp
index 8cc1bb5d7b..2e7747c12d 100644
--- a/src/zig_llvm.hpp
+++ b/src/zig_llvm.hpp
@@ -55,6 +55,19 @@ LLVMZigDIType *LLVMZigCreateDebugStructType(LLVMZigDIBuilder *dibuilder, LLVMZig
LLVMZigDIType **types_array, int types_array_len, unsigned run_time_lang, LLVMZigDIType *vtable_holder,
const char *unique_id);
+LLVMZigDIType *LLVMZigCreateDebugMemberType(LLVMZigDIBuilder *dibuilder, LLVMZigDIScope *scope,
+ const char *name, LLVMZigDIFile *file, unsigned line, uint64_t size_in_bits,
+ uint64_t align_in_bits, uint64_t offset_in_bits, unsigned flags, LLVMZigDIType *type);
+
+LLVMZigDIType *LLVMZigCreateReplaceableCompositeType(LLVMZigDIBuilder *dibuilder, unsigned tag,
+ const char *name, LLVMZigDIScope *scope, LLVMZigDIFile *file, unsigned line);
+
+void LLVMZigReplaceTemporary(LLVMZigDIBuilder *dibuilder, LLVMZigDIType *type,
+ LLVMZigDIType *replacement);
+
+void LLVMZigReplaceDebugArrays(LLVMZigDIBuilder *dibuilder, LLVMZigDIType *type,
+ LLVMZigDIType **types_array, int types_array_len);
+
LLVMZigDISubroutineType *LLVMZigCreateSubroutineType(LLVMZigDIBuilder *dibuilder_wrapped,
LLVMZigDIFile *file, LLVMZigDIType **types_array, int types_array_len, unsigned flags);
@@ -64,6 +77,7 @@ unsigned LLVMZigEncoding_DW_ATE_float(void);
unsigned LLVMZigLang_DW_LANG_C99(void);
unsigned LLVMZigTag_DW_auto_variable(void);
unsigned LLVMZigTag_DW_arg_variable(void);
+unsigned LLVMZigTag_DW_structure_type(void);
LLVMZigDIBuilder *LLVMZigCreateDIBuilder(LLVMModuleRef module, bool allow_unresolved);
@@ -73,6 +87,7 @@ LLVMZigDIScope *LLVMZigLexicalBlockToScope(LLVMZigDILexicalBlock *lexical_block)
LLVMZigDIScope *LLVMZigCompileUnitToScope(LLVMZigDICompileUnit *compile_unit);
LLVMZigDIScope *LLVMZigFileToScope(LLVMZigDIFile *difile);
LLVMZigDIScope *LLVMZigSubprogramToScope(LLVMZigDISubprogram *subprogram);
+LLVMZigDIScope *LLVMZigTypeToScope(LLVMZigDIType *type);
LLVMZigDILocalVariable *LLVMZigCreateLocalVariable(LLVMZigDIBuilder *dbuilder, unsigned tag,
LLVMZigDIScope *scope, const char *name, LLVMZigDIFile *file, unsigned line_no,