[PATCH] D85788: [Clang test] Update to allow passing extra default clang arguments in use_clang

Gui Andrade via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Aug 11 14:35:22 PDT 2020


guiand created this revision.
guiand added reviewers: eugenis, MaskRay, rsmith, rjmccall.
Herald added subscribers: llvm-commits, cfe-commits, luismarques, apazos, sameer.abuasal, pzheng, s.egerton, lenary, Jim, mstorsjo, jocewei, PkmX, arphaman, dexonsmith, the_o, brucehoult, MartinMosbeck, rogfer01, steven_wu, edward-jones, zzheng, jrtc27, delcypher, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, fedor.sergeev, hiraditya.
Herald added projects: clang, LLVM.
guiand requested review of this revision.

Prerequisite to a later patch that will add a default codegen option to the tests, for the sake of allowing clang to emit noundef without requiring changes to (nearly) every codegen test.

  This adds a new clang substitution, '%clang_bin', that expands to the clang binary
  with no extra arguments appended. This allows us
  to replace uses of '%clang' where it's precisely required to use the pure binary,
  and enables adding additional_flags to the test corpus.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D85788

Files:
  clang/test/CodeGen/label-array-aggregate-init.c
  clang/test/CodeGen/thinlto-clang-diagnostic-handler-in-be.c
  clang/test/CodeGenCXX/debug-info-limited-ctor.cpp
  clang/test/CodeGenOpenCL/ext-int-shift.cl
  clang/test/Driver/aix-as.c
  clang/test/Driver/as-dwarf-cie.s
  clang/test/Driver/cc1-response-files.c
  clang/test/Driver/clang-s-opts.s
  clang/test/Driver/clang_f_opts.c
  clang/test/Driver/compilation_database.c
  clang/test/Driver/config-file3.c
  clang/test/Driver/crash-report-modules.m
  clang/test/Driver/debug-comp-dir.S
  clang/test/Driver/debug-options.c
  clang/test/Driver/debug.c
  clang/test/Driver/mingw-sysroot.cpp
  clang/test/Driver/myriad-toolchain.c
  clang/test/Driver/no-canonical-prefixes.c
  clang/test/Driver/parse-progname.c
  clang/test/Driver/program-path-priority.c
  clang/test/Driver/relax.s
  clang/test/Driver/reloc-model.c
  clang/test/Driver/riscv32-toolchain-extra.c
  clang/test/Driver/riscv64-toolchain-extra.c
  clang/test/Driver/target-abi-cc1as.s
  clang/test/Driver/target-override.c
  clang/test/Driver/unknown-arg.c
  clang/test/Frontend/stdin-input.c
  clang/test/Index/create-libclang-completion-reproducer.c
  clang/test/Index/create-libclang-parsing-reproducer.c
  clang/test/InterfaceStubs/externstatic.c
  clang/test/Misc/cc1as-asm-debug.s
  clang/test/Misc/cc1as-asm.s
  clang/test/Misc/cc1as-compress.s
  clang/test/Misc/cc1as-split-dwarf.s
  clang/test/Misc/dev-fd-fs.c
  clang/test/Modules/crash-vfs-path-emptydir-entries.m
  clang/test/Modules/crash-vfs-path-symlink-component.m
  clang/test/Modules/crash-vfs-path-symlink-topheader.m
  clang/test/Modules/crash-vfs-path-traversal.m
  clang/test/Modules/crash-vfs-relative-overlay.m
  clang/test/Preprocessor/cuda-macos-includes.cu
  llvm/utils/lit/lit/llvm/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85788.284900.patch
Type: text/x-patch
Size: 115578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200811/79bea105/attachment-0001.bin>


More information about the cfe-commits mailing list