They actually are auto generated, using the lldb-inst tool. Currently the
record macros are inserted in place, while the register macros are dumped
to stdout. I didn’t want to add too much complexity. However, it would be
really easy to just dump the register macros in the file as well.

On Fri, Mar 15, 2019 at 13:44 Zachary Turner via Phabricator <
revi...@reviews.llvm.org> wrote:

> zturner added a comment.
>
> Or better yet, make it a static method on each SB class.  E.g.
> `SBTarget::InitializeReproducerRegistry();` etc, one for each class.
>
> Random thought, but this all seems like a very high maintenance strategy,
> having to manually update this registry when methods are added or removed.
> Did you ever consider auto-generating them by parsing the SWIG?
>
>
> Repository:
>   rLLDB LLDB
>
> CHANGES SINCE LAST ACTION
>   https://reviews.llvm.org/D59427/new/
>
> https://reviews.llvm.org/D59427
>
>
>
> --
Sent from my iPhone
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to