[all-commits] [llvm/llvm-project] e9f6de: [MCAsmParser] .irpc: correctly handle quoted string

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Aug 13 19:22:55 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e9f6deaa8fd8ca3247c79f962aed335ada99cd66
      https://github.com/llvm/llvm-project/commit/e9f6deaa8fd8ca3247c79f962aed335ada99cd66
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-08-13 (Tue, 13 Aug 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmParser.cpp
    M llvm/test/MC/AsmParser/macro-irpc.s

  Log Message:
  -----------
  [MCAsmParser] .irpc: correctly handle quoted string

The quotes should be stripped.

Improve the test to check all of Identifier, Integer, and String.

GNU assembler also supports `.irpc c,"" a` but there is no real world
use case. So don't implement 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