This is an archive of the discontinued LLVM Phabricator instance.

Close DynamicLibraries in reverse order they were opened.
ClosedPublic

Authored by marsupial on May 29 2017, 11:14 AM.

Details

Summary

Matches C++ destruction ordering better and fixes possible problems of loaded libraries having inter-dependencies.

Diff Detail

Repository
rL LLVM

Event Timeline

efriedma edited edge metadata.May 30 2017, 12:47 PM

Needs a testcase, I think. Otherwise, looks fine.

marsupial updated this revision to Diff 100772.May 30 2017, 2:24 PM

Add test case.

efriedma accepted this revision.May 30 2017, 2:33 PM

LGTM.

This revision is now accepted and ready to land.May 30 2017, 2:33 PM
This revision was automatically updated to reflect the committed changes.