[all-commits] [llvm/llvm-project] c7cacb: Fix __cfi_check not aligned to 4k on relocatable f...
Yi Kong via All-commits
all-commits at lists.llvm.org
Thu Aug 3 03:54:20 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c7cacb2f6efe07fa4a1129bb7e2389312670b84a
https://github.com/llvm/llvm-project/commit/c7cacb2f6efe07fa4a1129bb7e2389312670b84a
Author: Yi Kong <yikong at google.com>
Date: 2023-08-03 (Thu, 03 Aug 2023)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
A clang/test/CodeGen/cfi-cross-dso-align.c
Log Message:
-----------
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
More information about the All-commits
mailing list