[all-commits] [llvm/llvm-project] a86cbd: [lldb] More tests for DumpDataExtractor

David Spickett via All-commits all-commits at lists.llvm.org
Fri Apr 30 08:17:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a86cbd475576b0c08537bea44c54cfc332f215f2
      https://github.com/llvm/llvm-project/commit/a86cbd475576b0c08537bea44c54cfc332f215f2
  Author: David Spickett <david.spickett at linaro.org>
  Date:   2021-04-30 (Fri, 30 Apr 2021)

  Changed paths:
    M lldb/unittests/Core/DumpDataExtractorTest.cpp

  Log Message:
  -----------
  [lldb] More tests for DumpDataExtractor

* Using a base address or skipping it with LLDB_INVALID_ADDRESS
* Using a data offset, which does not effect the printed addresses
* Not providing an output stream
* Formatting a double sized HexFloat
* Formatting over multiple lines

Since address printing now has its own test,
I've removed the base address from all the format
type tests.

The multi line tests still use a base address to check that
it's incremented correctly for each new line.

Reviewed By: teemperor

Differential Revision: https://reviews.llvm.org/D101627




More information about the All-commits mailing list