[Lldb-commits] [PATCH] D117707: [lldb] [Platform] Support synthesizing siginfo_t

Pavel Labath via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 26 04:13:06 PST 2022


labath accepted this revision.
labath added a comment.

In D117707#3270072 <https://reviews.llvm.org/D117707#3270072>, @jingham wrote:

>> I am a bit curious about the `__lldb` prefix. I'm wondering if there's a way to avoid having it, while still maintaining isolation from any type with the same name coming from the debug info. I'm thinking about putting it in some kind of an anonymous namespace or something... Does anyone know if that works?
>
> This will be the actual type of an SBValue, as is the case in other instances where we've made up types, so users will see this type if they look closely.  So it should be clear from the name that this is just an artificial type lldb made up.  `__lldb_whatever` expresses that pretty clearly, but I'm worried some reasonable looking name in an anonymous namespace would send users off on a wild goose chase.

Yeah, that makes sense.


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

https://reviews.llvm.org/D117707



More information about the lldb-commits mailing list