diff options
| author | Dean Michael Berris <dberris@google.com> | 2018-08-07 04:42:39 +0000 |
|---|---|---|
| committer | Dean Michael Berris <dberris@google.com> | 2018-08-07 04:42:39 +0000 |
| commit | a9d477a6ddf24ac57b8ef089962fe4bd63f4c95a (patch) | |
| tree | 0d38d13f09ed7b43ceb28895c974fb54ad617438 /lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp | |
| parent | 9ca5db090405b0f2c155792f228b6ed0899f1946 (diff) | |
[XRay] Improve error reporting when loading traces
Summary:
This change uses a single offset pointer used throughout the
implementation of the individual record parsers. This allows us to
report where in a trace file parsing failed.
We're still in an intermediate step here as we prepare to refactor this
further into a set of types and use object-oriented design principles
for a cleaner implementation. The next steps will be to allow us to
parse/dump files in a streaming fashion and incrementally build up the
structures in memory instead of the current all-or-nothing approach.
Reviewers: kpw, eizan
Reviewed By: kpw
Subscribers: hiraditya, llvm-commits
Differential Revision: https://reviews.llvm.org/D50169
llvm-svn: 339092
Diffstat (limited to 'lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptRuntime.cpp')
0 files changed, 0 insertions, 0 deletions
