[PATCH] D88600: [TableGen] New backend to print fully detailed records
Paul C. Anagnostopoulos via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 30 11:06:14 PDT 2020
Paul-C-Anagnostopoulos created this revision.
Paul-C-Anagnostopoulos added reviewers: lattner, madhur13490, SuJunda.
Herald added subscribers: llvm-commits, jfb, hiraditya, mgorny.
Herald added a project: LLVM.
Paul-C-Anagnostopoulos requested review of this revision.
This new TableGen backend, invoked with --print-detailed-records, prints all the details about the global variables, classes, and records in a TableGen file. It includes more details than the default backend.
The "TableGen Backend Developer's Guide" is updated to describe this new backend.
Add a function to the SourceMgr class to get a string with a source location formatted in the standard way.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88600
Files:
llvm/docs/TableGen/BackGuide.rst
llvm/include/llvm/Support/SourceMgr.h
llvm/include/llvm/TableGen/Record.h
llvm/lib/Support/SourceMgr.cpp
llvm/lib/TableGen/CMakeLists.txt
llvm/lib/TableGen/DetailedRecordsBackend.cpp
llvm/lib/TableGen/Main.cpp
llvm/lib/TableGen/Record.cpp
llvm/lib/TableGen/TableGenBackendSkeleton.cpp
llvm/utils/TableGen/TableGen.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88600.295354.patch
Type: text/x-patch
Size: 18599 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200930/8c4bd4e7/attachment.bin>
More information about the llvm-commits
mailing list