[PATCH] D27775: [ThinLTO] Import composite types as declarations

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 14 15:06:29 PST 2016


> On Dec 14, 2016, at 2:58 PM, Adrian Prantl via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> aprantl added a comment.
> 
> This sounds like it could break debugging with LLDB. If I understand the description correctly, this is the equivalent of doing -fno-standalone-debug?
> 
> 
> https://reviews.llvm.org/D27775
> 

Hmm.. maybe it isn't. The -fno-standalone-debug option was necessary to not omit definitions for classes whose vtable was defined in a third-party library.

+Greg, can LLDB can deal with a forward-declaration to a composite type for which a full definition exists in a different translation unit? When debugging from .o file, and when debugging from a .dSYM?

-- adrian


More information about the llvm-commits mailing list