[Lldb-commits] [PATCH] D56822: [Reproducers] Tool to insert SBReproducer macros

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Jan 29 23:56:53 PST 2019


labath added a comment.

So, if I understand this correctly, a constructor like `SBFoo::SBFoo(){}` will not be considered for macroization because it's empty? That doesn't sound right to me. Even an empty constructor has a side effect of constructing the object, which is something that I would expect to see recorded in the trace file. Is there some reason why it is hard/impossible to insert macros into these kinds of functions? If so, it may be worth just warning the user about their existence.

A function with an empty body probably doesn't do anything interesting, so it may be possible to skip recording those, but I think it would make sense to record them nonetheless.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56822/new/

https://reviews.llvm.org/D56822





More information about the lldb-commits mailing list