commit | 2f14f1125a7c94fb784bd66c22739bf4d81a1c24 | [log] [tgz] |
---|---|---|
author | Teresa Johnson <tejohnson@google.com> | Mon Jul 23 21:58:19 2018 +0000 |
committer | Teresa Johnson <tejohnson@google.com> | Mon Jul 23 21:58:19 2018 +0000 |
tree | a09f80920b7edec5c1440e69a7878c67e4296a6b | |
parent | 4f40986a056b41fbe20c5ad408607de2686de2a5 [diff] |
[ThinLTO] Ensure the TargetLibraryInfo is constructed early enough Summary: Without this change, the WholeProgramDevirt pass, which requires the TargetLibraryInfo, will construct one from the default triple. Fixes PR38139. Reviewers: pcc Subscribers: mehdi_amini, inglorion, steven_wu, dexonsmith, llvm-commits Differential Revision: https://reviews.llvm.org/D49278 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@337750 91177308-0d34-0410-b5e6-96231b3b80d8