This is an archive of the discontinued LLVM Phabricator instance.

[LTO] Call llvm_shutdown on exit
ClosedPublic

Authored by davide on Nov 10 2016, 11:41 AM.

Details

Summary

On a non-lto build is a nop. On a LTO build, we deallocate/destroy managed static and this allows us to get the output of, e.g., -time-passes without performing a full shutdown

Diff Detail

Repository
rL LLVM

Event Timeline

davide updated this revision to Diff 77523.Nov 10 2016, 11:41 AM
davide retitled this revision from to [LTO] Call llvm_shutdown on exit.
davide updated this object.
davide added reviewers: rafael, Bigcheese.
davide added a subscriber: llvm-commits.
This revision was automatically updated to reflect the committed changes.