[PATCH] D115501: [clang][ARM] Emit warnings when PACBTI-M is used with unsupported architectures

Amilendra Kodithuwakku via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 24 14:03:27 PST 2022


amilendra updated this revision to Diff 402659.
amilendra added a comment.

Add new interface isArmMClass() to the Triple class.
Use isArmT32() and isArmMClass() to emit PACBTI warnings for ARM.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D115501/new/

https://reviews.llvm.org/D115501

Files:
  clang/lib/Basic/Targets/ARM.cpp
  clang/lib/CodeGen/TargetInfo.cpp
  clang/lib/Driver/ToolChains/Clang.cpp
  clang/test/Driver/aarch64-security-options.c
  clang/test/Driver/arm-security-options.c
  clang/test/Sema/arm-branch-protection-attr-warn.c
  llvm/include/llvm/ADT/Triple.h
  llvm/unittests/ADT/TripleTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115501.402659.patch
Type: text/x-patch
Size: 10963 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220124/ab0d746a/attachment-0001.bin>


More information about the cfe-commits mailing list