[PATCH] D136895: [WIP][llvm-driver] Accept -cc1 and friends as tools meaning clang

Alex Brachet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 27 15:42:01 PDT 2022


abrachet created this revision.
abrachet added reviewers: phosek, dblaikie.
Herald added subscribers: kosarev, kerbowa, hiraditya, jvesely.
Herald added a reviewer: NoQ.
Herald added a project: All.
abrachet requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

This is a possible alternative to D135108 <https://reviews.llvm.org/D135108>, the downside here is that some tests expect `clang -###` output to start with clang and those need to be fixed up more often here because in D135108 <https://reviews.llvm.org/D135108> "clang" is still present as the 1st arg not the executable name. It is much cleaner in terms of amount of code that needs to be changed.


https://reviews.llvm.org/D136895

Files:
  clang/test/Analysis/scan-build/lit.local.cfg
  clang/test/CMakeLists.txt
  clang/test/CodeGen/debug-info-codeview-buildinfo.c
  clang/test/Driver/amdgpu-toolchain.c
  clang/test/Driver/check-time-trace.cpp
  clang/test/Driver/flang/multiple-inputs-mixed.f90
  clang/test/Driver/hipspv-device-libs.hip
  clang/test/Driver/hipspv-toolchain-rdc.hip
  clang/test/Driver/hipspv-toolchain.hip
  clang/test/Driver/ignore-xcoff-visibility.cpp
  clang/test/Driver/no-canonical-prefixes.c
  clang/test/Driver/ps4-ps5-header-search.c
  clang/test/lit.site.cfg.py.in
  clang/tools/driver/driver.cpp
  clang/tools/scan-build/libexec/ccc-analyzer
  llvm/cmake/modules/llvm-driver-template.cpp.in
  llvm/include/llvm/Support/LLVMDriver.h
  llvm/lib/Support/Path.cpp
  llvm/lib/Support/Unix/Path.inc
  llvm/lib/Support/Windows/Path.inc
  llvm/tools/llvm-driver/llvm-driver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D136895.471310.patch
Type: text/x-patch
Size: 14925 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221027/482c2a12/attachment.bin>


More information about the llvm-commits mailing list