| commit | eab97d3d47e24f208b964fb4a15475836a33ba82 | [log] [tgz] |
|---|---|---|
| author | Reid Kleckner <reid@kleckner.net> | Mon Jul 20 20:35:30 2015 +0000 |
| committer | Reid Kleckner <reid@kleckner.net> | Mon Jul 20 20:35:30 2015 +0000 |
| tree | ac50590df345c7c52349d664d0ca43bf732146cd | |
| parent | 93d608c3c3ecc7ce55a4b7f3281240a864f11b1c [diff] |
Fix a case where we forgot to make a static local variable comdat Sometimes we can provide an initializer for static locals, in which case we sometimes might need to change the type. Changing the type requires making a new LLVM GlobalVariable, and in this codepath we were forgetting to transfer the comdat. Fixes PR23838. Patch by Ivan Garramona. llvm-svn: 242704