diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2022-03-08 21:09:20 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-08 21:09:20 -0500 |
| commit | a91753219df5d0b51f55dcad3e2ef96044efdd62 (patch) | |
| tree | 11c840f3f7405eba160c7876e64b696e08e6fd3e /src/stage1/analyze.cpp | |
| parent | 935d208ffb955e74864e12f0f7e265f64642a02f (diff) | |
| parent | fb4ad37e0bd07513a0a56afb45e95c68036b1eea (diff) | |
| download | zig-a91753219df5d0b51f55dcad3e2ef96044efdd62.tar.gz zig-a91753219df5d0b51f55dcad3e2ef96044efdd62.zip | |
Merge pull request #11085 from ziglang/llvm-debug-info
stage2 LLVM debug info
Diffstat (limited to 'src/stage1/analyze.cpp')
| -rw-r--r-- | src/stage1/analyze.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/stage1/analyze.cpp b/src/stage1/analyze.cpp index ff925f265f..a2db15c622 100644 --- a/src/stage1/analyze.cpp +++ b/src/stage1/analyze.cpp @@ -9073,8 +9073,7 @@ static void resolve_llvm_types_enum(CodeGen *g, ZigType *enum_type, ResolveStatu for (uint32_t i = 0; i < field_count; i += 1) { TypeEnumField *enum_field = &enum_type->data.enumeration.fields[i]; - // TODO send patch to LLVM to support APInt in createEnumerator instead of int64_t - // http://lists.llvm.org/pipermail/llvm-dev/2017-December/119456.html + // https://github.com/ziglang/zig/issues/645 di_enumerators[i] = ZigLLVMCreateDebugEnumerator(g->dbuilder, buf_ptr(enum_field->name), bigint_as_signed(&enum_field->value)); } |
