diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2025-08-21 16:31:32 -0700 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-21 16:31:32 -0700 | 
| commit | ff85dbdf6b399eac7bffa13e579f0f5e6edac3c0 (patch) | |
| tree | 8be429e273d963258b0ed8ac931438a378e798be /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
| parent | f961b61f8841c8488ab2194ac7a82e557736a949 (diff) | |
| download | llvm-ff85dbdf6b399eac7bffa13e579f0f5e6edac3c0.zip llvm-ff85dbdf6b399eac7bffa13e579f0f5e6edac3c0.tar.gz llvm-ff85dbdf6b399eac7bffa13e579f0f5e6edac3c0.tar.bz2 | |
ThinLTOBitcodeWriter: Emit __cfi_check to full LTO part of bitcode file.
The CrossDSOCFI pass runs on the full LTO module and fills in the
body of __cfi_check. This function must have the correct attributes in
order to be compatible with the rest of the program. For example, when
building with -mbranch-protection=standard, the function must have the
branch-target-enforcement attribute, which is normally added by Clang.
When __cfi_check is missing, CrossDSOCFI will give it the default set
of attributes, which are likely incorrect. Therefore, emit __cfi_check
to the full LTO part, where CrossDSOCFI will see it.
Reviewers: efriedma-quic, vitalybuka, fmayer
Reviewed By: efriedma-quic
Pull Request: https://github.com/llvm/llvm-project/pull/154833
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions
