aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2023-08-11 15:44:06 -0700
committerJustin Bogner <mail@justinbogner.com>2023-08-14 12:27:13 -0700
commitf58330cbe44598eb2de0cca3b812f67fea0a71ca (patch)
tree1b64d775dac8aed08db174194c4f1f3590920d5e /clang/lib/Frontend/CompilerInvocation.cpp
parentc4ada13e4b3e72543e454a12a6db085812114c0c (diff)
downloadllvm-f58330cbe44598eb2de0cca3b812f67fea0a71ca.zip
llvm-f58330cbe44598eb2de0cca3b812f67fea0a71ca.tar.gz
llvm-f58330cbe44598eb2de0cca3b812f67fea0a71ca.tar.bz2
[Driver] Make /Zi and /Z7 aliases of -g rather than handling them specially
The -g flag has been selecting whether to emit dwarf or codeview based on the target ABI since 2018, so simply aliasing these flags does the right thing for clang-cl. This moves some code from Clang::ConstructJob to renderDebugOptions to make things a little clearer now that we don't need to keep track of whether we're doing codeview or not in multiple places, and also combines the duplicate handling of the cl vs clang handling of jmc flags as a result. This is mostly NFC, but some -cc1 flags may be rendered in a slightly different order because of the code that was moved around. Differential Revision: https://reviews.llvm.org/D157794
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions