[all-commits] [llvm/llvm-project] 08c684: [ARM] Parse Tag_also_compatible_with attribute
Victor Campos via All-commits
all-commits at lists.llvm.org
Tue Aug 16 03:23:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 08c6840f254ccc1d93da2e1f79d398d30f8b3862
https://github.com/llvm/llvm-project/commit/08c6840f254ccc1d93da2e1f79d398d30f8b3862
Author: Victor Campos <victor.campos at arm.com>
Date: 2022-08-16 (Tue, 16 Aug 2022)
Changed paths:
M llvm/include/llvm/Support/ARMAttributeParser.h
M llvm/include/llvm/Support/ScopedPrinter.h
M llvm/lib/Support/ARMAttributeParser.cpp
A llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-integer.s
A llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-invalid_arch.s
A llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-invalid_tag.s
A llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-recursive.s
A llvm/test/MC/ARM/directive-eabi_attribute-also_compatible_with-string.s
M llvm/test/MC/ARM/directive-eabi_attribute.s
Log Message:
-----------
[ARM] Parse Tag_also_compatible_with attribute
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.
Reviewed By: pratlucas
Differential Revision: https://reviews.llvm.org/D130913
More information about the All-commits
mailing list