[all-commits] [llvm/llvm-project] a8c678: [Remarks][Driver][NFC] Make shouldEmitRemarks more...
Visoiu Mistrih Francis via All-commits
all-commits at lists.llvm.org
Wed Dec 18 14:32:43 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a8c678cb9a90c4f82505f573e9b9fa23fec93a64
https://github.com/llvm/llvm-project/commit/a8c678cb9a90c4f82505f573e9b9fa23fec93a64
Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M clang/include/clang/Driver/Driver.h
M clang/lib/Driver/Driver.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
Log Message:
-----------
[Remarks][Driver][NFC] Make shouldEmitRemarks more available in the Driver
Move the function to Driver.h so that it can be re-used in other places.
Commit: d79b11fefb8e92660893b8ccf9e21d23668a6c73
https://github.com/llvm/llvm-project/commit/d79b11fefb8e92660893b8ccf9e21d23668a6c73
Author: Francis Visoiu Mistrih <francisvm at yahoo.com>
Date: 2019-12-18 (Wed, 18 Dec 2019)
Changed paths:
M clang/lib/Driver/Driver.cpp
M clang/test/Driver/darwin-opt-record.c
Log Message:
-----------
[Remarks][Driver] Run dsymutil when remarks are enabled
When clang is invoked with a source file without -c or -S, it creates a
cc1 job, a linker job and if debug info is requested, a dsymutil job. In
case of remarks, we should also create a dsymutil job to avoid losing
the remarks that will be generated in a tempdir that gets removed.
Differential Revision: https://reviews.llvm.org/D71675
Compare: https://github.com/llvm/llvm-project/compare/bce1cce6bf12...d79b11fefb8e
More information about the All-commits
mailing list