FailedChanges

Summary

  1. clang: enable unwind tables on FreeBSD !amd64 (details)
  2. Implement target(branch-protection) attribute for AArch64 (details)
Commit cb1761465a0d4c904f4fca489afe97478382b553 by emaste
clang: enable unwind tables on FreeBSD !amd64
There doesn't seem to be much sense in defaulting "on" unwind tables on
amd64 and not on other arches. It causes surprising differences between
platforms, such as the PR below[1].
Prior to this change, FreeBSD inherited the default implementation of
the method from the Gnu.h Generic_Elf => Generic_GCC parent class, which
returned true only for amd64 targets.  Override that and opt on always,
similar to, e.g., NetBSD's driver.
[1] https://bugs.freebsd.org/241562
Patch by cem (Conrad Meyer).
Reviewed By: dim
Differential Revision: https://reviews.llvm.org/D70110
The file was modifiedclang/test/Driver/freebsd.c
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.h
The file was modifiedclang/lib/Driver/ToolChains/FreeBSD.cpp
Commit aa6d48fa70eb5d1769ea09ac0a2c4d956deeb06d by momchil.velikov
Implement target(branch-protection) attribute for AArch64
This patch implements `__attribute__((target("branch-protection=...")))`
in a manner, compatible with the analogous GCC feature:
https://gcc.gnu.org/onlinedocs/gcc-9.2.0/gcc/AArch64-Function-Attributes.html#AArch64-Function-Attributes
Differential Revision: https://reviews.llvm.org/D68711
The file was addedclang/test/Sema/branch-protection-attr-err.c
The file was modifiedclang/test/Sema/attr-target.c
The file was modifiedclang/include/clang/Basic/TargetInfo.h
The file was modifiedclang/lib/Basic/Targets/AArch64.h
The file was modifiedclang/include/clang/Basic/AttrDocs.td
The file was modifiedclang/lib/Basic/Targets/AArch64.cpp
The file was modifiedclang/lib/CodeGen/TargetInfo.cpp
The file was modifiedclang/include/clang/Basic/Attr.td
The file was modifiedllvm/lib/Support/AArch64TargetParser.cpp
The file was modifiedllvm/include/llvm/Support/AArch64TargetParser.h
The file was modifiedclang/include/clang/Basic/DiagnosticSemaKinds.td
The file was addedclang/test/CodeGen/aarch64-branch-protection-attr.c
The file was modifiedclang/include/clang/Basic/CodeGenOptions.def
The file was modifiedclang/lib/Driver/ToolChains/Clang.cpp
The file was modifiedclang/include/clang/Basic/CodeGenOptions.h
The file was modifiedclang/lib/Sema/SemaDeclAttr.cpp