aboutsummaryrefslogtreecommitdiff
path: root/src/zig_llvm.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-02-04 14:02:37 -0700
committerAndrew Kelley <superjoe30@gmail.com>2016-02-04 14:02:37 -0700
commitb87d0abefeeeed4d9ce981971a5e33a6d0932529 (patch)
treef8f817222a2f2c49ad67fc6cfe1ca98b3278868f /src/zig_llvm.cpp
parent25e74cb385dc353bcf0e56b35a6f1c7c8b13267e (diff)
downloadzig-b87d0abefeeeed4d9ce981971a5e33a6d0932529.tar.gz
zig-b87d0abefeeeed4d9ce981971a5e33a6d0932529.zip
fix debug info for bool type
Diffstat (limited to 'src/zig_llvm.cpp')
-rw-r--r--src/zig_llvm.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp
index f770909556..b0e32e8b6b 100644
--- a/src/zig_llvm.cpp
+++ b/src/zig_llvm.cpp
@@ -324,6 +324,18 @@ unsigned LLVMZigEncoding_DW_ATE_float(void) {
return dwarf::DW_ATE_float;
}
+unsigned LLVMZigEncoding_DW_ATE_boolean(void) {
+ return dwarf::DW_ATE_boolean;
+}
+
+unsigned LLVMZigEncoding_DW_ATE_unsigned_char(void) {
+ return dwarf::DW_ATE_unsigned_char;
+}
+
+unsigned LLVMZigEncoding_DW_ATE_signed_char(void) {
+ return dwarf::DW_ATE_signed_char;
+}
+
unsigned LLVMZigLang_DW_LANG_C99(void) {
return dwarf::DW_LANG_C99;
}