[PATCH] D66354: Add LLDB dataformatters for llvm::StringRef and lldb_private::ConstString

Jim Ingham via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 16 15:36:32 PDT 2019


Maybe we should have a section of the testsuite that gets run when lldb is built with debug information?  Then you could just run lldb on itself, stop anywhere, use the expression parser to make a variable of the type in question, and see that it prints properly.

Jim


> On Aug 16, 2019, at 3:31 PM, Adrian Prantl via Phabricator <reviews at reviews.llvm.org> wrote:
> 
> aprantl added a comment.
> 
> It's not quite obvious to me how to write a test for this. The test would need to live in LLDB, and it would need to compile a program linking against a variant of libSupport that was compiled with debug info. I'm not sure how to best do this.
> 
> 
> Repository:
>  rG LLVM Github Monorepo
> 
> CHANGES SINCE LAST ACTION
>  https://reviews.llvm.org/D66354/new/
> 
> https://reviews.llvm.org/D66354
> 
> 
> 



More information about the llvm-commits mailing list