[intel-pt] Implement a basic test case
authorWalter Erquinigo <wallace@fb.com>
Tue, 31 Mar 2020 00:26:58 +0000 (17:26 -0700)
committerWalter Erquinigo <wallace@fb.com>
Wed, 1 Apr 2020 20:44:03 +0000 (13:44 -0700)
commitc911cc6c49394909a335c8d7baffcfd8bdcc424b
tree941aa208cbea0ef32ef95083dfbd19e007cca787
parent92e563bc05d425c4667c44ce363f5db39cc3a25b
[intel-pt] Implement a basic test case

Summary:
Depends on D76872.

There was no test for the Intel PT support on LLDB, so I'm creating one, which
will help making progress on solid grounds.

The test is skipped if the Intel PT plugin library is not built.

Reviewers: clayborg, labath, kusmour, aadsm

Subscribers: lldb-commits

Tags: #lldb

Differential Revision: https://reviews.llvm.org/D77107
lldb/test/API/tools/intel-features/intel-pt/test/Makefile [new file with mode: 0644]
lldb/test/API/tools/intel-features/intel-pt/test/TestIntelPTSimpleBinary.py [new file with mode: 0644]
lldb/test/API/tools/intel-features/intel-pt/test/main.cpp [new file with mode: 0644]
lldb/tools/intel-features/intel-pt/cli-wrapper-pt.cpp