[all-commits] [llvm/llvm-project] a4ad6a: [MCParser] Reject processor-specific section flags...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Apr 14 16:06:25 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4ad6a3b2db0afcc4558d874397fb7ae7264d77f
      https://github.com/llvm/llvm-project/commit/a4ad6a3b2db0afcc4558d874397fb7ae7264d77f
  Author: Fangrui Song <i at maskray.me>
  Date:   2023-04-14 (Fri, 14 Apr 2023)

  Changed paths:
    M llvm/lib/MC/MCParser/ELFAsmParser.cpp
    A llvm/test/MC/ELF/section-flags-unknown.s

  Log Message:
  -----------
  [MCParser] Reject processor-specific section flags not known by the current target

Catch accidentally used flags and match MCSectionELF.cpp
`MCSectionELF::printSwitchToSection`.

Reviewed By: aeubanks

Differential Revision: https://reviews.llvm.org/D148386




More information about the All-commits mailing list