[Lldb-commits] [PATCH] D66453: Make the FindTypes(std::vector<CompilerContext>, ...) API testable in lldb-test

Adrian Prantl via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Mon Aug 19 16:42:09 PDT 2019


aprantl created this revision.
aprantl added reviewers: jasonmolenda, JDevlieghere, labath, clayborg.

I'm planning to modify this API shortly and thought best to first make it independently testable.

This adds a -compiler-context=<...> option to lldb-test that translates a JSON-formatted string that is a list of kind/name pairs and translates it into a std::vector<CompilerContext>, a CompilerContext being a pair of context-kind and name.


https://reviews.llvm.org/D66453

Files:
  lldb/lit/SymbolFile/DWARF/compilercontext.ll
  lldb/lit/SymbolFile/DWARF/compilercontext.test
  lldb/tools/lldb-test/lldb-test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66453.216020.patch
Type: text/x-patch
Size: 6562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190819/e8ece1b3/attachment.bin>


More information about the lldb-commits mailing list