[Lldb-commits] [PATCH] D70314: [lldb] Add better test commands for expression evaluation

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 15 01:05:20 PST 2020


teemperor updated this revision to Diff 238189.
teemperor added a comment.

- Moved to using the SBAPI.

We can't get fully rid of parsing some output as GetDescription of SBValue returns `(type) $0 = VALUE\n` but there
seems to be no way to get rid of the stuff around the value we want. But we now only strip it away instead of
trying to parse the type etc.


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

https://reviews.llvm.org/D70314

Files:
  lldb/packages/Python/lldbsuite/test/commands/expression/call-function/TestCallBuiltinFunction.py
  lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/map/TestDataFormatterLibccMap.py
  lldb/packages/Python/lldbsuite/test/lldbtest.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70314.238189.patch
Type: text/x-patch
Size: 9341 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200115/13c16f38/attachment-0001.bin>


More information about the lldb-commits mailing list