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
..
2013-07-02 04:15:28 +00:00
2013-05-01 21:01:06 +00:00
2013-08-24 20:35:16 +00:00
2013-07-18 21:00:12 +00:00
2013-03-18 23:04:30 +00:00
2013-07-25 18:55:05 +00:00
2013-09-05 06:53:59 +00:00
2013-08-01 01:38:16 +00:00
2013-09-11 00:36:48 +00:00
2013-07-16 19:44:17 +00:00
2013-06-13 21:16:58 +00:00
2013-05-21 20:36:13 +00:00
2013-07-16 19:44:17 +00:00
2013-08-20 22:52:02 +00:00