zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 86eb1836682cecea199748842767cf2d9cc2ea62 (tree)
parent 46ddeb0bafd68cf88867e4268253a41ac0050215
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Mon, 18 Sep 2017 22:05:55 -0400

coff linking passes -DEBUG

which makes a .pdb file

Diffstat:
Msrc/link.cpp | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/link.cpp b/src/link.cpp @@ -348,6 +348,10 @@ static void construct_linker_job_coff(LinkJob *lj) { lj->args.append("-NOLOGO"); + if (!g->strip_debug_symbols) { + lj->args.append("-DEBUG"); + } + coff_append_machine_arg(g, &lj->args); if (g->windows_subsystem_windows) {