[all-commits] [llvm/llvm-project] db9b6f: [Tablegen] Add keyword `dump`. (#68793)

Francesco Petrogalli via All-commits all-commits at lists.llvm.org
Thu Oct 19 00:26:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: db9b6f4987394c56102d08566422a867cde01a6d
      https://github.com/llvm/llvm-project/commit/db9b6f4987394c56102d08566422a867cde01a6d
  Author: Francesco Petrogalli <francesco.petrogalli at apple.com>
  Date:   2023-10-19 (Thu, 19 Oct 2023)

  Changed paths:
    M llvm/docs/TableGen/ProgRef.rst
    M llvm/include/llvm/TableGen/Error.h
    M llvm/include/llvm/TableGen/Record.h
    M llvm/lib/TableGen/Error.cpp
    M llvm/lib/TableGen/Record.cpp
    M llvm/lib/TableGen/TGLexer.cpp
    M llvm/lib/TableGen/TGLexer.h
    M llvm/lib/TableGen/TGParser.cpp
    M llvm/lib/TableGen/TGParser.h
    A llvm/test/TableGen/dump.td

  Log Message:
  -----------
  [Tablegen] Add keyword `dump`. (#68793)

The keyword is intended for debugging purpose. It prints a message to
stderr.

This patch is based on code originally written by Adam Nemet, and on the
feedback received by the reviewers in
https://reviews.llvm.org/D157492.




More information about the All-commits mailing list