eugenis updated this revision to Diff 116618.
eugenis added a comment.
Switched to SetLLVMFunctionAttributes
https://reviews.llvm.org/D37656
Files:
clang/lib/CodeGen/CGExpr.cpp
clang/test/CodeGen/cfi-check-thumb.c
llvm/lib/Transforms/IPO/CrossDSOCFI.cpp
llvm/test/Transforms/CrossDSOCFI/
echristo added inline comments.
Comment at: clang/lib/CodeGen/CGExpr.cpp:2917
+CodeGenFunction &CGF, llvm::Function *F,
+bool ForceThumb) {
+ StringRef TargetCPU = CGF.getTarget().getTargetOpts().CPU;
--
eugenis added inline comments.
Comment at: clang/lib/CodeGen/CGExpr.cpp:2917
+CodeGenFunction &CGF, llvm::Function *F,
+bool ForceThumb) {
+ StringRef TargetCPU = CGF.getTarget().getTargetOpts().CPU;
---
echristo added inline comments.
Comment at: clang/lib/CodeGen/CGExpr.cpp:2917
+CodeGenFunction &CGF, llvm::Function *F,
+bool ForceThumb) {
+ StringRef TargetCPU = CGF.getTarget().getTargetOpts().CPU;
--
eugenis added a comment.
ping
https://reviews.llvm.org/D37656
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
eugenis created this revision.
Herald added subscribers: hiraditya, kristof.beyls, srhines, aemerson.
Set target_cpu and target_features attributes on __cfi_check_fail and
__cfi_check. Make cfi_check use Thumb encoding on ARM target.
https://reviews.llvm.org/D37656
Files:
clang/lib/CodeGen/CG