diff options
author | Walter Erquinigo <wallace@fb.com> | 2021-06-01 15:34:06 -0700 |
---|---|---|
committer | Walter Erquinigo <wallace@fb.com> | 2021-06-17 15:14:47 -0700 |
commit | bf9f21a28be171dc500cc68b4cb1fcd3fc33f229 (patch) | |
tree | 15fe415b67514d3e546353eea9ed6b208bcf65ae /lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | |
parent | c1360fd5fced42ea45ce1eacbf1c5e1ed54fcac5 (diff) | |
download | llvm-bf9f21a28be171dc500cc68b4cb1fcd3fc33f229.zip llvm-bf9f21a28be171dc500cc68b4cb1fcd3fc33f229.tar.gz llvm-bf9f21a28be171dc500cc68b4cb1fcd3fc33f229.tar.bz2 |
[trace][intel-pt] Create basic SB API
This adds a basic SB API for creating and stopping traces.
Note: This doesn't add any APIs for inspecting individual instructions. That'd be a more complicated change and it might be better to enhande the dump functionality to output the data in binary format. I'll leave that for a later diff.
This also enhances the existing tests so that they test the same flow using both the command interface and the SB API.
I also did some cleanup of legacy code.
Differential Revision: https://reviews.llvm.org/D103500
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp')
-rw-r--r-- | lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp index 4eeec62..cf5a1a5 100644 --- a/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp +++ b/lldb/unittests/Process/gdb-remote/GDBRemoteCommunicationClientTest.cpp @@ -12,7 +12,6 @@ #include "lldb/Target/MemoryRegionInfo.h" #include "lldb/Utility/DataBuffer.h" #include "lldb/Utility/StructuredData.h" -#include "lldb/Utility/TraceOptions.h" #include "lldb/lldb-enumerations.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Testing/Support/Error.h" |