[PATCH] D62270: [Driver] Move the "-o OUT -x TYPE SRC.c" flags to the end of -cc1

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 22 15:16:14 PDT 2019


rnk created this revision.
rnk added a reviewer: hans.
Herald added a subscriber: jdoerfert.
Herald added a project: clang.

New -cc1 arguments, such as -faddrsig, have started appearing after the
input name. I personally find it convenient for the input to be the last
argument to the compile command line, since I often need to edit it when
running crash reproduction scripts.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D62270

Files:
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/cuda-options.cu
  clang/test/Driver/hip-toolchain-no-rdc.hip
  clang/test/Driver/openmp-offload.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62270.200827.patch
Type: text/x-patch
Size: 26108 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190522/9e50df87/attachment-0001.bin>


More information about the cfe-commits mailing list