From 1357790ec969bb6ee19ade6e8a348bd9d7cbbc4d Mon Sep 17 00:00:00 2001 From: Jakub Konka Date: Fri, 19 Aug 2022 12:13:04 +0200 Subject: win: combine PDB fixes into one changeset --- src/link.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/link.zig') diff --git a/src/link.zig b/src/link.zig index 3097e5cf1f..4dfcf171af 100644 --- a/src/link.zig +++ b/src/link.zig @@ -218,6 +218,10 @@ pub const Options = struct { /// (Darwin) remove dylibs that are unreachable by the entry point or exported symbols dead_strip_dylibs: bool = false, + /// (Windows) PDB source path prefix to instruct the linker how to resolve relative + /// paths when consolidating CodeView streams into a single PDB file. + pdb_source_path: ?[]const u8 = null, + pub fn effectiveOutputMode(options: Options) std.builtin.OutputMode { return if (options.use_lld) .Obj else options.output_mode; } -- cgit v1.2.3