aboutsummaryrefslogtreecommitdiff
path: root/src/codegen/llvm
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2024-03-02 21:43:39 -0800
committerGitHub <noreply@github.com>2024-03-02 21:43:39 -0800
commit90c1a2c41aafb1e35e075fb7d0bdcf04c00db913 (patch)
tree1037ffb947dc331e68a1dba73e590771113dcec3 /src/codegen/llvm
parent33de937fd91c64cd65894369cf7d92665a8e582e (diff)
parent282b398f6da967f413e223b452457d37e93a70b3 (diff)
downloadzig-90c1a2c41aafb1e35e075fb7d0bdcf04c00db913.tar.gz
zig-90c1a2c41aafb1e35e075fb7d0bdcf04c00db913.zip
Merge pull request #19152 from antlilja/llvm-broken-debug
LLVM: Fail to emit if LLVM encounters broken debug info
Diffstat (limited to 'src/codegen/llvm')
-rw-r--r--src/codegen/llvm/bindings.zig6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/codegen/llvm/bindings.zig b/src/codegen/llvm/bindings.zig
index affadef882..ee87aef6ac 100644
--- a/src/codegen/llvm/bindings.zig
+++ b/src/codegen/llvm/bindings.zig
@@ -37,6 +37,12 @@ pub const Context = opaque {
pub const setOptBisectLimit = ZigLLVMSetOptBisectLimit;
extern fn ZigLLVMSetOptBisectLimit(C: *Context, limit: c_int) void;
+
+ pub const enableBrokenDebugInfoCheck = ZigLLVMEnableBrokenDebugInfoCheck;
+ extern fn ZigLLVMEnableBrokenDebugInfoCheck(C: *Context) void;
+
+ pub const getBrokenDebugInfo = ZigLLVMGetBrokenDebugInfo;
+ extern fn ZigLLVMGetBrokenDebugInfo(C: *Context) bool;
};
pub const Module = opaque {