commit | 83f06e8223291cd8dabe94d0cbfd0553121d5a44 | [log] [tgz] |
---|---|---|
author | Nick Lewycky <nicholas@mxc.ca> | Fri Aug 12 01:14:22 2011 +0000 |
committer | Nick Lewycky <nicholas@mxc.ca> | Fri Aug 12 01:14:22 2011 +0000 |
tree | df0bd4bf44254fe28fb2a5ced48b51b20ae9ca34 | |
parent | 579ad7ac56f7940cc543b7216ee1b1a7de1ed712 [diff] |
The diagtool registration system tries to use a global variable from a method called on another global variable. Use ManagedStatic to ensure that the global we register with actually exists when we need it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@137406 91177308-0d34-0410-b5e6-96231b3b80d8