[PATCH] D134880: [clang] [test] Use %clang_cc1 substitution consistently

Michał Górny via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Sep 29 07:18:47 PDT 2022


mgorny created this revision.
mgorny added reviewers: python3kgae, beanz, jhuber6, davide, asb, MaskRay, plotfi.
Herald added subscribers: StephenFan, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, niosHD, sabuasal, simoncook, johnrusso, rbar.
Herald added a project: All.
mgorny requested review of this revision.
Herald added a subscriber: pcwang-thead.

Use the `%clang_cc1` substitution consistently across the test suite,
replacing inline `%clang -cc1` invocations, except for one Preprocessor
test where this is causing breakage.  This is necessary to ensure that
additional parameters passed via `%clang` do not interfere with `-cc1`
that must always be passed as the first command-line argument.

Remove the additional substitution blocking `%clang_cc1` use in Driver
tests.  It has been added in 2013 and was supposed to prevent tests
calling `clang -cc1` from being added to Driver.  The state of the test
suite proves that it did not succeed at all.


https://reviews.llvm.org/D134880

Files:
  clang/test/CodeGenHLSL/disable_opt.hlsl
  clang/test/CodeGenHLSL/validator_version.hlsl
  clang/test/Driver/debug-options.c
  clang/test/Driver/hlsl-entry.cpp
  clang/test/Driver/hlsl_no_stdinc.hlsl
  clang/test/Driver/linker-wrapper-image.c
  clang/test/Driver/linker-wrapper.c
  clang/test/Driver/lit.local.cfg
  clang/test/Driver/offload-packager.c
  clang/test/Driver/reloc-model.c
  clang/test/Driver/riscv-features.c
  clang/test/Frontend/plugin-attribute.cpp
  clang/test/InterfaceStubs/externstatic.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134880.463885.patch
Type: text/x-patch
Size: 21506 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220929/72c86ac5/attachment-0001.bin>


More information about the cfe-commits mailing list