llvm-6502/include
Nick Lewycky 53b2b73643 Remove the last improper use of getGlobalContext() from LLVM.
This caused a race condition where a thread calls ~LLVMContextImpl which calls
Module::dropAllReferences which calls begin() on an empty ilist that would
create the sentinel, which racily accesses the global context.

This can not be fixed by locking inside createSentinel because the lock would
need to be shared with all users of the global context, including those that
reside outside LLVM's own code.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137546 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-13 01:04:44 +00:00
..
llvm Remove the last improper use of getGlobalContext() from LLVM. 2011-08-13 01:04:44 +00:00
llvm-c Initial commit of the 'landingpad' instruction. 2011-08-12 20:24:12 +00:00