]> granicus.if.org Git - clang/commit
Emit proper CodeView when -gcodeview is passed without the cl driver.
authorZachary Turner <zturner@google.com>
Mon, 26 Feb 2018 19:25:39 +0000 (19:25 +0000)
committerZachary Turner <zturner@google.com>
Mon, 26 Feb 2018 19:25:39 +0000 (19:25 +0000)
commit78e545f25db4d117b7edb4639204d99268164c8b
tree04285f5465a54bee2e4d753d1b0d1a8c9ffe5729
parent8cb6286a95ac1c12c616303d74ad1a38b67defaa
Emit proper CodeView when -gcodeview is passed without the cl driver.

Windows debuggers don't work properly when column info is emitted
with lines.  We handled this by checking if the driver mode was
cl, but it's possible to cause the gcc driver to emit codeview as
well, and in that path we were emitting column info with codeview.

Differential Revision: https://reviews.llvm.org/D43700

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@326113 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Clang.cpp
test/Driver/codeview-column-info.c [new file with mode: 0644]