diff options
| author | kcbanner <kcbanner@gmail.com> | 2023-04-18 18:57:35 -0400 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-04-18 21:29:20 -0700 |
| commit | a1aa55ebe52636f28335fd7ab30321fc52f48775 (patch) | |
| tree | ffcd11295f9865acc27e0b7f1572318885ed0260 /lib/std/http/Client.zig | |
| parent | 0e394cf922fc84e45e70c0b4a183c9c8b8f079fb (diff) | |
| download | zig-a1aa55ebe52636f28335fd7ab30321fc52f48775.tar.gz zig-a1aa55ebe52636f28335fd7ab30321fc52f48775.zip | |
compilation: fix generating coff debug info on -gnu
The issue with just passing `-gcodeview` is that it's not part of
the `OPT_g_Group` in `clang/Driver/Options.td`, so it doesn't trigger
debug info to be generated.
Passing only `-g` is sufficient on MSVC, as there is logic in `Clang.cpp`
which enables codeview if that is the default for the toolchain. Since
the default for -gnu is not codeview, we do pass `-gcodeview` in that case.
Diffstat (limited to 'lib/std/http/Client.zig')
0 files changed, 0 insertions, 0 deletions
