[all-commits] [llvm/llvm-project] 9e6670: [Driver] Only pass LTO remark arguments if the dri...

Visoiu Mistrih Francis via All-commits all-commits at lists.llvm.org
Tue Apr 7 14:12:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9e6670b03ceaa5980eccb06e2dd037e6a9584c66
      https://github.com/llvm/llvm-project/commit/9e6670b03ceaa5980eccb06e2dd037e6a9584c66
  Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
  Date:   2020-04-07 (Tue, 07 Apr 2020)

  Changed paths:
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/test/Driver/darwin-opt-record-ld.c

  Log Message:
  -----------
  [Driver] Only pass LTO remark arguments if the driver asks for it

Previous fix missed a check to willEmitRemarks, causing remarks to
always be enabled for LTO.




More information about the All-commits mailing list