[LTO] Add optimization remarks for removed functions
authorGabor Horvath <xazax@google.com>
Wed, 29 Jan 2020 01:13:12 +0000 (17:13 -0800)
committerGabor Horvath <xazax@google.com>
Wed, 29 Jan 2020 23:53:51 +0000 (15:53 -0800)
commit31ae0165c3519cc27989b3e4bd71845593e08cfe
tree72fc9eebdd36340b2326218b92faab5ea327c04b
parenta10cec02f79082a1da571e44e68800025b7e6554
[LTO] Add optimization remarks for removed functions

This only works with regular LTO for now.

Differential Revision: https://reviews.llvm.org/D73597
llvm/include/llvm/LTO/LTOBackend.h
llvm/lib/IR/DiagnosticInfo.cpp
llvm/lib/LTO/LTO.cpp
llvm/lib/LTO/LTOBackend.cpp
llvm/test/LTO/Resolution/X86/dead-strip-fulllto.ll