[lld][test][RISCV] Don't use incorrectly normalised arch string in riscv-attributes...
authorAlex Bradbury <asb@igalia.com>
Sun, 19 Feb 2023 19:15:32 +0000 (19:15 +0000)
committerAlex Bradbury <asb@igalia.com>
Sun, 19 Feb 2023 19:15:32 +0000 (19:15 +0000)
commit179a24c2f149933868e2a69b94200d7f4dcf18c5
tree96df897b1b0c92e3c7a47e4b297907cdd4356912
parentfd4d29808efad739778caafa30765d83f82d99ba
[lld][test][RISCV] Don't use incorrectly normalised arch string in riscv-attributes-place.s

Per the psABI, the arch string should be normalised to (amongest other
things) always include the full version of each extension in form
zfoo1p0. riscv-attributes-place.s didn't conform to this, which is not a
problem for the current parsing logic, but this behaviour would change
with a patch I'm about to propose.

This makes riscv-sttributes-place.s feature a valid arch string, and
maintains test coverage for this particular form of invalid arch string
by adding it to riscv-attributes.s.
lld/test/ELF/riscv-attributes-place.s
lld/test/ELF/riscv-attributes.s