OSDN Git Service

Remember to move a type to the correct set when setting the body.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 Mar 2015 00:50:21 +0000 (00:50 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 6 Mar 2015 00:50:21 +0000 (00:50 +0000)
commitb6fd95ab412e24fe8cb1f9d2f884527e050bfca7
tree7dacf17682a3e3732e33cda9d0038b30b302bc27
parentb207e98e2065140db57764b400a5e20aa7314114
Remember to move a type to the correct set when setting the body.

We would set the body of a struct type (therefore making it non-opaque)
but were forgetting to move it to the non-opaque set.

Fixes pr22807.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231442 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Linker/Linker.h
lib/Linker/LinkModules.cpp
test/Linker/Inputs/pr22807-1.ll [new file with mode: 0644]
test/Linker/Inputs/pr22807-2.ll [new file with mode: 0644]
test/Linker/pr22807.ll [new file with mode: 0644]