[all-commits] [llvm/llvm-project] ae09dd: [Remarks][Driver] Error on -foptimization-record-f...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Mon Dec 9 20:39:33 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: ae09dd86a9b7f43543baa92d27c9382099691088
      https://github.com/llvm/llvm-project/commit/ae09dd86a9b7f43543baa92d27c9382099691088
  Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M clang/docs/ClangCommandLineReference.rst
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/darwin-opt-record.c

  Log Message:
  -----------
  [Remarks][Driver] Error on -foptimization-record-file with multiple -arch options

This adds a check for the usage of -foptimization-record-file with
multiple -arch options. This is not permitted since it would require us
to rename the file requested by the user to avoid overwriting it for the
second cc1 invocation.




More information about the All-commits mailing list