diff options
| author | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-11 20:26:53 +0000 |
|---|---|---|
| committer | Jonas Devlieghere <jonas@devlieghere.com> | 2019-07-11 20:26:53 +0000 |
| commit | f4af9a9d806f0471a94d9c803c581e9ef1ea9424 (patch) | |
| tree | e0acac3794412a9133ded4cb21064654471f7e12 /lldb/tools/lldb-test/lldb-test.cpp | |
| parent | fcffa7c201c6c2d703a69dc6443caac68a224427 (diff) | |
| download | bcm5719-llvm-f4af9a9d806f0471a94d9c803c581e9ef1ea9424.tar.gz bcm5719-llvm-f4af9a9d806f0471a94d9c803c581e9ef1ea9424.zip | |
Add convenience methods to convert LLDB to LLVM data structures.
This patch adds two convenience methods named GetAsLLVM to the LLDB
counterparts of the DWARF DataExtractor and the DWARF context. The
DWARFContext, once created, is cached for future usage.
Differential revision: https://reviews.llvm.org/D64535
llvm-svn: 365819
Diffstat (limited to 'lldb/tools/lldb-test/lldb-test.cpp')
| -rw-r--r-- | lldb/tools/lldb-test/lldb-test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/tools/lldb-test/lldb-test.cpp b/lldb/tools/lldb-test/lldb-test.cpp index 471a9988287..478da8c0b73 100644 --- a/lldb/tools/lldb-test/lldb-test.cpp +++ b/lldb/tools/lldb-test/lldb-test.cpp @@ -739,7 +739,7 @@ static void dumpSectionList(LinePrinter &Printer, const SectionList &List, bool Printer.formatLine("File size: {0}", S->GetFileSize()); if (opts::object::SectionContents) { - DataExtractor Data; + lldb_private::DataExtractor Data; S->GetSectionData(Data); ArrayRef<uint8_t> Bytes = {Data.GetDataStart(), Data.GetDataEnd()}; Printer.formatBinary("Data: ", Bytes, 0); |

