[Lldb-commits] [PATCH] D50478: Add support for artificial tail call frames

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Fri Aug 24 10:50:32 PDT 2018


aprantl added inline comments.


================
Comment at: lldb/include/lldb/Symbol/Function.h:331
+  /// \ref resolved.
+  union {
+    const char *mangled_name;
----------------
vsk wrote:
> aprantl wrote:
> > `llvm::PointerUnion` ?
> It's not possible to use PointerUnion here because `const char *` has 1-byte alignment. There's no space in the pointer to store a discriminator bit.
Good point!


https://reviews.llvm.org/D50478





More information about the lldb-commits mailing list