[all-commits] [llvm/llvm-project] b36a18: [AArch64][Build Attributes] Improve Parsing and Fo...

SivanShani-Arm via All-commits all-commits at lists.llvm.org
Tue Feb 25 01:55:19 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b36a18df96f9b8f206ec4b7f1036bdd4701c117e
      https://github.com/llvm/llvm-project/commit/b36a18df96f9b8f206ec4b7f1036bdd4701c117e
  Author: SivanShani-Arm <sivan.shani at arm.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AArch64AsmPrinter.cpp
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
    R llvm/test/CodeGen/AArch64/aarch64-build-attributes-all.ll
    R llvm/test/CodeGen/AArch64/aarch64-build-attributes-bti.ll
    R llvm/test/CodeGen/AArch64/aarch64-build-attributes-gcs.ll
    R llvm/test/CodeGen/AArch64/aarch64-build-attributes-pac.ll
    R llvm/test/CodeGen/AArch64/aarch64-build-attributes-pauthabi.ll
    A llvm/test/CodeGen/AArch64/build-attributes-all.ll
    A llvm/test/CodeGen/AArch64/build-attributes-bti.ll
    A llvm/test/CodeGen/AArch64/build-attributes-gcs.ll
    A llvm/test/CodeGen/AArch64/build-attributes-pac.ll
    A llvm/test/CodeGen/AArch64/build-attributes-pauthabi.ll
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-all.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-bti.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-err-attrs.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-err-headers.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-gcs.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-none.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-numerical-tags.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-out-of-order.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-pac.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-private-subsections-err.s
    R llvm/test/MC/AArch64/aarch64-build-attributes-asm-private-subsections.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-aeabi-known.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-bti.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-err-attrs.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-err-headers.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-gcs.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-mixed.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-none.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-numerical-tags.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-out-of-order.s
    A llvm/test/MC/AArch64/build-attributes-asm-aeabi-pac.s
    A llvm/test/MC/AArch64/build-attributes-asm-non_aeabi-err.s
    A llvm/test/MC/AArch64/build-attributes-asm-non_aeabi.s

  Log Message:
  -----------
  [AArch64][Build Attributes] Improve Parsing and Formatting (#126530)

- Removed assertion for duplicate values as adding them is valid.
- Fix parsing: reject strings for unknown tags, allow any value for
Tag_PAuth_Platform and Tag_PAuth_Schema.
- Print tags by using numbers with comments to reduce compiler-assembler
dependencies.
- Parsing error messages now only point to the symbol (^) instead of
printing it.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list