]> granicus.if.org Git - clang/commit
Fix codegen for virtual methods that are (re-) exported from multiple modules.
authorManuel Klimek <klimek@google.com>
Tue, 24 Feb 2015 09:06:28 +0000 (09:06 +0000)
committerManuel Klimek <klimek@google.com>
Tue, 24 Feb 2015 09:06:28 +0000 (09:06 +0000)
commit749c5950dddf1ff4316e00b88d3d5f96abb2639a
tree07ed435a4298c198d3b7f2916ea7185509113e0c
parent947bca71d3343f6b703c92baf5c12d73bf15a1e3
Fix codegen for virtual methods that are (re-) exported from multiple modules.

Fixes multiple crashes where a non-canonical decl would be used as key
in a lookup.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@230314 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/VTableBuilder.cpp
test/Modules/Inputs/merge-vtable-codegen/a.h [new file with mode: 0644]
test/Modules/Inputs/merge-vtable-codegen/b.h [new file with mode: 0644]
test/Modules/Inputs/merge-vtable-codegen/c.h [new file with mode: 0644]
test/Modules/Inputs/merge-vtable-codegen/merge-vtable-codegen.modulemap [new file with mode: 0644]
test/Modules/merge-vtable-codegen.cpp [new file with mode: 0644]