[all-commits] [llvm/llvm-project] d9edca: [CodeGen] Ensure relative vtables use llvm.type.ch...
PiJoules via All-commits
all-commits at lists.llvm.org
Fri Feb 28 12:26:51 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d9edca4fe05245ace93f7f1577a2eb79ec6898b1
https://github.com/llvm/llvm-project/commit/d9edca4fe05245ace93f7f1577a2eb79ec6898b1
Author: PiJoules <6019989+PiJoules at users.noreply.github.com>
Date: 2025-02-28 (Fri, 28 Feb 2025)
Changed paths:
M clang/lib/CodeGen/CGClass.cpp
M clang/lib/CodeGen/CGVTables.h
M clang/lib/CodeGen/ItaniumCXXABI.cpp
M clang/test/CodeGen/fat-lto-objects-cfi.cpp
M clang/test/CodeGenCXX/type-metadata.cpp
Log Message:
-----------
[CodeGen] Ensure relative vtables use llvm.type.checked.load.relative (#126785)
This intrinsic is used when whole program vtables is used in conjunction
with either CFI or virtual function elimination. The
`llvm.type.checked.load` is unconditionally used, but we need to use the
relative intrinsic for WPD and CFI to work correctly.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list