| commit | 5a99c49d2e232c3a5076b2f99549ccd595598a4c | [log] [tgz] |
|---|---|---|
| author | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Dec 01 01:10:48 2015 +0000 |
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | Tue Dec 01 01:10:48 2015 +0000 |
| tree | 7961878cd4a73b96ba7506a7f9cafd199dce4b84 | |
| parent | 21ed3b13bd1a9c9d3cca49553cdd7274c4de5993 [diff] |
Fix use-after-free when a C++ thread_local variable gets replaced (because its type changes when the initializer is attached). Don't hold onto the GlobalVariable*; recompute it from the VarDecl* instead. llvm-svn: 254359