[ORC] Change the field order of ThreadSafeModule to ensure the Module is
destroyed before its ThreadSharedContext. Destroying the context first is an error if this ThreadSafeModule is the only owner of its underlying context. Add a unit test for ThreadSafeModule/ThreadSafeContext to catch this and other basic usage issues. llvm-svn: 343129
Loading
Please register or sign in to comment