diff options
| author | Ahmed Bougacha <ahmed@bougacha.org> | 2024-07-22 16:41:22 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-22 16:41:22 -0700 |
| commit | b6dbda67d8f687350de66e68a7fd61433fac7107 (patch) | |
| tree | 495ef5c6f6ac2de06258f24ceb61deccc3ffb8d6 /llvm/lib/Transforms/Utils/SimplifyCFG.cpp | |
| parent | d4da96d6b1d5d8128fc57c8148785144c7b96705 (diff) | |
| download | llvm-b6dbda67d8f687350de66e68a7fd61433fac7107.zip llvm-b6dbda67d8f687350de66e68a7fd61433fac7107.tar.gz llvm-b6dbda67d8f687350de66e68a7fd61433fac7107.tar.bz2 | |
[clang] Implement type/address discrimination of type_info vtable. (#99726)
We want to be able to support full type and address discrimination of
type_info on targets that don't have existing ABI compatibility
constraints.
This patch does not enable such behavior on any platform, it just adds
the necessary machinery.
In clang we add a new commandline argument to control the type_info
vtable ABI:
-fptrauth-type-info-vtable-pointer-discrimination
and a feature flag to allow source level detection of the ABI:
__has_feature(ptrauth_type_info_vtable_pointer_discrimination)
Co-authored-by: Oliver Hunt <oliver@apple.com>
Diffstat (limited to 'llvm/lib/Transforms/Utils/SimplifyCFG.cpp')
0 files changed, 0 insertions, 0 deletions
