aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
diff options
context:
space:
mode:
authorHamza Sood <hamza_sood@me.com>2018-09-09 12:06:35 +0000
committerHamza Sood <hamza_sood@me.com>2018-09-09 12:06:35 +0000
commite05bf60631631a0badfa9d41d946ec09d7255e45 (patch)
tree81fb487038bd82eb077994f95a8613da0c9710f4 /llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp
parent4f5450742e97c7f98409be5a148edb9c862f1252 (diff)
downloadllvm-e05bf60631631a0badfa9d41d946ec09d7255e45.zip
llvm-e05bf60631631a0badfa9d41d946ec09d7255e45.tar.gz
llvm-e05bf60631631a0badfa9d41d946ec09d7255e45.tar.bz2
[Tooling] Improve handling of CL-style options
This patch fixes the handling of clang-cl options in InterpolatingCompilationDatabase. They were previously ignored completely, which led to a lot of bugs: Additional options were being added with the wrong syntax. E.g. a file was specified as C++ by adding -x c++, which causes an error in CL mode. The args were parsed and then rendered, which means that the aliasing information was lost. E.g. /W4 was rendered to -Wall, which in CL mode means -Weverything. CL options were ignored when checking things like -std=, so a lot of logic was being bypassed. Differential Revision: https://reviews.llvm.org/D51321 llvm-svn: 341760
Diffstat (limited to 'llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions