[clang] [compiler-rt] [llvm] [PAC][AArch64] Support init/fini array signing (PR #96478)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 16 01:35:26 PDT 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 58c7df90f838251c3682abfe91abadaa68ff6a01 8d656fc6da199e4fc600ed6454614d03bcc57721 --extensions c,h,cpp -- clang/test/CodeGen/ptrauth-init-fini.c clang/include/clang/Basic/PointerAuthOptions.h clang/lib/CodeGen/CodeGenModule.cpp clang/lib/Driver/ToolChains/Clang.cpp clang/lib/Frontend/CompilerInvocation.cpp clang/lib/Headers/ptrauth.h clang/test/CodeGen/aarch64-elf-pauthabi.c clang/test/Driver/aarch64-ptrauth.c clang/test/Preprocessor/ptrauth_feature.c compiler-rt/lib/builtins/crtbegin.c llvm/include/llvm/BinaryFormat/ELF.h llvm/include/llvm/IR/Constants.h llvm/lib/IR/Constants.cpp llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp llvm/tools/llvm-readobj/ELFDumper.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Frontend/CompilerInvocation.cpp b/clang/lib/Frontend/CompilerInvocation.cpp
index 6c739b5520..b2d2cb69b3 100644
--- a/clang/lib/Frontend/CompilerInvocation.cpp
+++ b/clang/lib/Frontend/CompilerInvocation.cpp
@@ -3439,7 +3439,7 @@ static void ParsePointerAuthArgs(LangOptions &Opts, ArgList &Args,
Args.hasArg(OPT_fptrauth_function_pointer_type_discrimination);
Opts.PointerAuthInitFini = Args.hasArg(OPT_fptrauth_init_fini);
Opts.PointerAuthInitFiniAddressDiscrimination =
- Args.hasArg(OPT_fptrauth_init_fini_address_discrimination);
+ Args.hasArg(OPT_fptrauth_init_fini_address_discrimination);
}
/// Check if input file kind and language standard are compatible.
``````````
</details>
https://github.com/llvm/llvm-project/pull/96478
More information about the llvm-commits
mailing list