# always use codeview \(pdb\) when object_format is PE/COFF · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/c2de3bdc12885a456e4c616aa8043ab01ffecb11)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: c2de3bdc12885a456e4c616aa8043ab01ffecb11

Requested commit: c2de3bdc12885a456e4c616aa8043ab01ffecb11

Commit: c2de3bdc12885a456e4c616aa8043ab01ffecb11

Tree: 1c77fe4e462440b0993d97c26880a2b71f44d5d2

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
always use codeview (pdb) when object_format is PE/COFF

Previously, when mixing Zig and C/C++ code for windows-gnu targets, zig
would get codeview format but the C/C++ code would not get any debug
info. Now, C/C++ code properly emits debug info in codeview format and
everything just works.

```

## Parents

- [ad95eecf375ca051c49e9eb183b23eedca994927](https://git.cafe/gitcafe/zig/commit/ad95eecf375ca051c49e9eb183b23eedca994927?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/c2de3bdc12885a456e4c616aa8043ab01ffecb11?format=markdown)
