llvm-6502/include
Filip Pizlo e94e0984df Make PrettyStackTraceEntry use ManagedStatic for its ThreadLocal.
This was somewhat tricky because ~PrettyStackTraceEntry() may run after 
llvm_shutdown() has been called. This is rare and only happens for a common idiom 
used in the main() functions of command-line tools. This works around the idiom by 
skipping the stack clean-up if the PrettyStackTraceHead ManagedStatic is not 
constructed (i.e. llvm_shutdown() has been called).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@190730 91177308-0d34-0410-b5e6-96231b3b80d8
2013-09-13 22:59:47 +00:00
..
llvm Make PrettyStackTraceEntry use ManagedStatic for its ThreadLocal. 2013-09-13 22:59:47 +00:00
llvm-c Revert 189297, the original commit message is following. 2013-08-27 17:15:54 +00:00