This is an archive of the discontinued LLVM Phabricator instance.

llc: don't call llvm_shutdown twice
ClosedPublic

Authored by jfb on May 11 2018, 5:19 PM.

Details

Summary

InitLLVM already calls llvm_shutdown, but llc registers for shutdown
with llvm_shutdown_obj so it gets called twice. It's not hurting anything, but
it's also not useful, so don't do it.

Diff Detail

Event Timeline

jfb created this revision.May 11 2018, 5:19 PM
ruiu accepted this revision.May 11 2018, 5:35 PM

LGTM

This revision is now accepted and ready to land.May 11 2018, 5:35 PM
This revision was automatically updated to reflect the committed changes.