]> granicus.if.org Git - clang/commit
Driver: render arguments for the embedded bitcode correctly
authorSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 24 Sep 2018 23:50:02 +0000 (23:50 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Mon, 24 Sep 2018 23:50:02 +0000 (23:50 +0000)
commitf3fac30693ba521a38b91da1f9523cd2acc861c6
tree6cf3896aa389889af6eb3bc2f08442666d530339
parent16e31db3b49549109d27e255bcb25739e30619ed
Driver: render arguments for the embedded bitcode correctly

When embedding bitcode, only a subset of the arguments should be recorded into
the bitcode compilation commandline.  The frontend job is split into two jobs,
one which will generate the bitcode.  Ensure that the arguments for the
compilation to bitcode is properly stripped so that the embedded arguments are
the permitted subset.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@342929 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticDriverKinds.td
lib/Driver/ToolChains/Clang.cpp
test/Driver/fembed-bitcode.c [new file with mode: 0644]