llvm-project/clang/test/CodeGenCXX/RelativeVTablesABI
Leonard Chan 71568a9e28 [clang] Frontend components for the relative vtables ABI (round 2)
This patch contains all of the clang changes from D72959.

- Generalize the relative vtables ABI such that it can be used by other targets.
- Add an enum VTableComponentLayout which controls whether components in the
  vtable should be pointers to other structs or relative offsets to those structs.
  Other ABIs can change this enum to restructure how components in the vtable
  are laid out/accessed.
- Add methods to ConstantInitBuilder for inserting relative offsets to a
  specified position in the aggregate being constructed.
- Fix failing tests under new PM and ASan and MSan issues.

See D72959 for background info.

Differential Revision: https://reviews.llvm.org/D77592
2020-06-11 11:17:08 -07:00
..
available_externally-vtable.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
child-inheritted-from-parent-in-comdat.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
child-vtable-in-comdat.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
cross-translation-unit-1.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
cross-translation-unit-2.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
cross-tu-header.h [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
diamond-inheritance.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
diamond-virtual-inheritance.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
dynamic-cast.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
inheritted-virtual-function.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
inline-virtual-function.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
inlined-key-function.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
member-function-pointer.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
multiple-inheritance.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
no-alias-when-dso-local.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
no-stub-when-dso-local.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
override-pure-virtual-method.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
overriden-virtual-function.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
parent-and-child-in-comdats.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
parent-vtable-in-comdat.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
pass-byval-attributes.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
relative-vtables-flag.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
simple-vtable-definition.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
stub-linkages.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
thunk-mangling.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
type-info.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
vbase-offset.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
virtual-function-call.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00
vtable-hidden-when-in-comdat.cpp [clang] Frontend components for the relative vtables ABI (round 2) 2020-06-11 11:17:08 -07:00