[ThinLTO] Implement -pass-remarks-output in ThinLTOCodeGenerator
authorMehdi Amini <mehdi.amini@apple.com>
Sat, 19 Nov 2016 18:20:05 +0000 (18:20 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Sat, 19 Nov 2016 18:20:05 +0000 (18:20 +0000)
commit19f176b98207d7d39ed4bed4683fb05a68276d4d
tree60b144cdb495180bf61303ddb7156a6bbe607932
parent6f408368237fdb0beb2ac1bf1d1bb7ad6124b99b
[ThinLTO] Implement -pass-remarks-output in ThinLTOCodeGenerator

Summary:
This will also be added to the LTO API, right now this will
bring ThinLTO on par with Monolithic LTO on Darwin.

Reviewers: anemet

Subscribers: tejohnson, llvm-commits

Differential Revision: https://reviews.llvm.org/D26886

llvm-svn: 287450
llvm/lib/LTO/LTOCodeGenerator.cpp
llvm/lib/LTO/ThinLTOCodeGenerator.cpp
llvm/test/ThinLTO/X86/Inputs/diagnostic-handler-remarks.ll [new file with mode: 0644]
llvm/test/ThinLTO/X86/diagnostic-handler-remarks.ll [new file with mode: 0644]