[ARM] add Armv9 build attribute
authorTies Stuij <ties@stuij.se>
Thu, 28 Apr 2022 09:23:54 +0000 (10:23 +0100)
committerTies Stuij <ties.stuij@arm.com>
Thu, 28 Apr 2022 09:48:26 +0000 (10:48 +0100)
commit051deb2d9d3422f6a9ca8e12f33bb6ab6d180bb4
treee034a319b9239e7788319569842d4f7518a6df80
parent2b833d4086aba3c0fca480549309af54bfdd8e2e
[ARM] add Armv9 build attribute

The build attribute number can be found in the Arm ABI addenda32 document:
https://github.com/ARM-software/abi-aa/blob/main/addenda32/addenda32.rst#335target-related-attributes

Reviewed By: tmatheson

Differential Revision: https://reviews.llvm.org/D124090
llvm/include/llvm/Support/ARMBuildAttributes.h
llvm/include/llvm/Support/ARMTargetParser.def
llvm/lib/Object/ELFObjectFile.cpp
llvm/lib/Support/ARMAttributeParser.cpp
llvm/lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp
llvm/unittests/Support/ARMAttributeParser.cpp
llvm/unittests/Support/TargetParserTest.cpp