aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-07 15:43:20 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-08 14:58:53 -0700
commitc6160fa3a5c2f55871c2ab2377531c8a4e34a76a (patch)
treecbee981048b3a1e0a1c51b3b9292017967f7df07 /src/link.zig
parent95fc41b2b433ccfa751c8877ec7edac3b9bffbd6 (diff)
downloadzig-c6160fa3a5c2f55871c2ab2377531c8a4e34a76a.tar.gz
zig-c6160fa3a5c2f55871c2ab2377531c8a4e34a76a.zip
LLVM: add compile unit to debug info
This commit also adds a bunch of bindings for debug info.
Diffstat (limited to 'src/link.zig')
-rw-r--r--src/link.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/link.zig b/src/link.zig
index 577a78d893..34e2bb8ed8 100644
--- a/src/link.zig
+++ b/src/link.zig
@@ -72,7 +72,7 @@ pub const Options = struct {
object_format: std.Target.ObjectFormat,
optimize_mode: std.builtin.Mode,
machine_code_model: std.builtin.CodeModel,
- root_name: []const u8,
+ root_name: [:0]const u8,
/// Not every Compilation compiles .zig code! For example you could do `zig build-exe foo.o`.
module: ?*Module,
dynamic_linker: ?[]const u8,