[PATCH] D130913: [ARM] Parse Tag_also_compatible_with attribute
Victor Campos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 1 09:08:22 PDT 2022
vhscampos created this revision.
Herald added subscribers: hiraditya, kristof.beyls.
Herald added a project: All.
vhscampos requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
The ARM Attribute Parser used to parse the value of also_compatible_with
as it is, disregarding the way it is encoded.
This patch does a context aware parsing of the also_compatible_with
attribute. Additionally, some error handling is also done for incorrect
cases.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D130913
Files:
llvm/include/llvm/Support/ARMAttributeParser.h
llvm/lib/Support/ARMAttributeParser.cpp
llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-invalid_arch.s
llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-invalid_tag.s
llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-recursive.s
llvm/test/MC/ARM/directive-eabi_attribute.s
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D130913.449039.patch
Type: text/x-patch
Size: 7041 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220801/5d7b5048/attachment.bin>
More information about the llvm-commits
mailing list