Skip to content
Commit bcdfcbcb authored by Lang Hames's avatar Lang Hames
Browse files

[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
parent d938d0d4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment