1//===-- AArch64AttributeParser.cpp - AArch64 Build Attributes PArser------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with
4// LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===---------------------------------------------------------------------===//
9
10#include "llvm/Support/AArch64AttributeParser.h"
11
12std::vector<llvm::SubsectionAndTagToTagName> &
13llvm::AArch64AttributeParser::returnTagsNamesMap() {
14 static std::vector<SubsectionAndTagToTagName> TagsNamesMap = {
15 {"aeabi_pauthabi", 1, "Tag_PAuth_Platform"},
16 {"aeabi_pauthabi", 2, "Tag_PAuth_Schema"},
17 {"aeabi_feature_and_bits", 0, "Tag_Feature_BTI"},
18 {"aeabi_feature_and_bits", 1, "Tag_Feature_PAC"},
19 {"aeabi_feature_and_bits", 2, "Tag_Feature_GCS"}};
20 return TagsNamesMap;
21}
22