aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-25 00:33:13 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-25 00:33:13 +0000
commitb9aefa775158b68c453e4ac0e4e2ada561900d26 (patch)
tree1a6a04296978a60e548a8931a68c9bfb623fc3bf /lib/CodeGen/CodeGenModule.h
parente669f89e613029d4e21869b90f6d3f6cd299ff2a (diff)
IRgen/C++: When mark vtables used, make sure to still append to the VTableUse array if we promote a vtable from being just used to having its definition required. This ensures that we properly inform the consumer about whether the vtable is required or not, previously we could fail to do so when the vtable was in the VTableUses array before the decl which marked it as required.
- I think this can be cleaned up, since this means we may notify the consumer about the vtable twice, but I didn't see an easy fix for this without more substantial refactoring. - Doug, please review! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@104577 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
0 files changed, 0 insertions, 0 deletions