[ThinLTO] Add support for optimization remarks to thinBackend
authorTeresa Johnson <tejohnson@google.com>
Thu, 3 May 2018 20:24:12 +0000 (20:24 +0000)
committerTeresa Johnson <tejohnson@google.com>
Thu, 3 May 2018 20:24:12 +0000 (20:24 +0000)
commit85cc298c1a67cdff22ece17ce1f352b7a56a8b8a
tree0f1efe906a8d47749637b8db6b1760ba4fe4fd0c
parentb78a577179328e66b993fb0b160505b2d9c41886
[ThinLTO] Add support for optimization remarks to thinBackend

Summary:
Support was added to the regular LTO backend, but not thinBackend.
This patch adds that support.

Reviewers: pcc, davide

Subscribers: mehdi_amini, inglorion, llvm-commits

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

llvm-svn: 331481
llvm/lib/LTO/LTOBackend.cpp
llvm/test/LTO/Resolution/X86/diagnostic-handler-remarks.ll