[llvm-dev] New TableGen backend for debugging
Nemanja Ivanovic via llvm-dev
llvm-dev at lists.llvm.org
Wed Oct 7 05:12:35 PDT 2020
This is really useful. Is there a way to produce this output automatically
(by providing some CMake variable)? For example, something like:
-DBUILD_TBLGEN_DEBUG=<Target>
On Sat, Oct 3, 2020 at 10:48 AM Paul C. Anagnostopoulos via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> I'd like to announce a new TableGen backend: Print Detailed Records. I
> hope this will help people when they are debugging complex TableGen files.
> It prints all the global variables, classes, and records with more detail
> than the default backend. In particular, it includes the source locations
> of the class and record definitions, and the source locations of the places
> where field values were set. It also includes the defm sequence for records
> that were generated by one or more defm statements.
>
> You can read about it here:
>
>
> https://llvm.org/docs/TableGen/BackGuide.html#the-printdetailedrecords-backend
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20201007/af629359/attachment-0001.html>
More information about the llvm-dev
mailing list