diff options
author | Teresa Johnson <tejohnson@google.com> | 2018-04-19 16:55:13 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@google.com> | 2018-04-19 16:55:13 +0000 |
commit | aa94393ec538f2d65eb9a419a61937bdc954d01d (patch) | |
tree | 0a233c6f1f1cb1c22c58cf5ffecfd1342a90520a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | aded409325feb6f36fdeaf6342dc99844242d102 (diff) | |
download | bcm5719-llvm-aa94393ec538f2d65eb9a419a61937bdc954d01d.tar.gz bcm5719-llvm-aa94393ec538f2d65eb9a419a61937bdc954d01d.zip |
[gold/ThinLTO] Invoke llvm_shutdown when exiting after ThinLTO indexing
Summary:
Instead of manually invoking PrintStatistics, simply invoke
llvm_shutdown which will take care of destroying managed statics, and as
a side effect will destroy the StatisticInfo ManagedStatic, invoking
PrintStatistics when needed.
Reviewers: fhahn
Subscribers: inglorion, llvm-commits
Differential Revision: https://reviews.llvm.org/D45820
llvm-svn: 330341
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions