diff options
author | Zachary Turner <zturner@google.com> | 2017-03-03 20:57:05 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2017-03-03 20:57:05 +0000 |
commit | 29cb868aa4d0279449b56288fde0358adade1a68 (patch) | |
tree | 697a72f9a7f9f37b5715cd75eb0b164216fcce6e /lldb/source/Symbol/JavaASTContext.cpp | |
parent | 6f9e690199edd68b20bac92983a216459bc568ed (diff) | |
download | bcm5719-llvm-29cb868aa4d0279449b56288fde0358adade1a68.tar.gz bcm5719-llvm-29cb868aa4d0279449b56288fde0358adade1a68.zip |
Isolate Target-specific functionality of DataExtractor.
In an effort to move the various DataBuffer / DataExtractor
classes from Core -> Utility, we have to separate the low-level
functionality from the higher level functionality. Only a
few functions required anything other than reading/writing
raw bytes, so those functions are separated out into a
more appropriate area. Specifically, Dump() and DumpHexBytes()
are moved into free functions in Core/DumpDataExtractor.cpp,
and GetGNUEHPointer is moved into a static function in the
only file that it's referenced from.
Differential Revision: https://reviews.llvm.org/D30560
llvm-svn: 296910
Diffstat (limited to 'lldb/source/Symbol/JavaASTContext.cpp')
-rw-r--r-- | lldb/source/Symbol/JavaASTContext.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lldb/source/Symbol/JavaASTContext.cpp b/lldb/source/Symbol/JavaASTContext.cpp index ed80e19fc69..ac029dfe5dc 100644 --- a/lldb/source/Symbol/JavaASTContext.cpp +++ b/lldb/source/Symbol/JavaASTContext.cpp @@ -10,7 +10,7 @@ #include <sstream> #include "lldb/Core/ArchSpec.h" -#include "lldb/Core/DataExtractor.h" +#include "lldb/Core/DumpDataExtractor.h" #include "lldb/Core/Module.h" #include "lldb/Core/PluginManager.h" #include "lldb/Core/StreamFile.h" @@ -1004,10 +1004,10 @@ bool JavaASTContext::DumpTypeValue( size_t data_byte_size, uint32_t bitfield_bit_size, uint32_t bitfield_bit_offset, ExecutionContextScope *exe_scope) { if (IsScalarType(type)) { - return data.Dump(s, data_offset, format, data_byte_size, - 1, // count - UINT32_MAX, LLDB_INVALID_ADDRESS, bitfield_bit_size, - bitfield_bit_offset, exe_scope); + return DumpDataExtractor(data, s, data_offset, format, data_byte_size, + 1, // count + UINT32_MAX, LLDB_INVALID_ADDRESS, + bitfield_bit_size, bitfield_bit_offset, exe_scope); } return false; } |