Skip to content
Commit c7cacb2f authored by Yi Kong's avatar Yi Kong
Browse files

Fix __cfi_check not aligned to 4k on relocatable files with no executable code

CrossDSOCFIPass is supposed to replace this stub function to a properly
aligned function. However the pass is not ran if the file has no
executable code, thus producing incorrectly aligned __cfi_check.

Fixes https://github.com/llvm/llvm-project/issues/45638.

Differential Revision: https://reviews.llvm.org/D155736
parent f2e7285b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment