aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-20 20:35:30 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-20 20:35:30 +0000
commiteab97d3d47e24f208b964fb4a15475836a33ba82 (patch)
treeac50590df345c7c52349d664d0ca43bf732146cd /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent93d608c3c3ecc7ce55a4b7f3281240a864f11b1c (diff)
downloadllvm-eab97d3d47e24f208b964fb4a15475836a33ba82.zip
llvm-eab97d3d47e24f208b964fb4a15475836a33ba82.tar.gz
llvm-eab97d3d47e24f208b964fb4a15475836a33ba82.tar.bz2
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
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions