summaryrefslogtreecommitdiff
path: root/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:26:05 +0000
commit14f1b3e8826ce43b978db93a62d1166055db5394 (patch)
tree0a00ad8d3498783fe0193f3b656bca17c4c8697d /packages/Python/lldbsuite/test/api/multithreaded/driver.cpp
parent4ee8c119c71a06dcad1e0fecc8c675e480e59337 (diff)
Notes
Diffstat (limited to 'packages/Python/lldbsuite/test/api/multithreaded/driver.cpp')
-rw-r--r--packages/Python/lldbsuite/test/api/multithreaded/driver.cpp38
1 files changed, 0 insertions, 38 deletions
diff --git a/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp b/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp
deleted file mode 100644
index fa0c48e0ecfbe..0000000000000
--- a/packages/Python/lldbsuite/test/api/multithreaded/driver.cpp
+++ /dev/null
@@ -1,38 +0,0 @@
-
-/// LLDB C API Test Driver
-
-#include <algorithm>
-#include <iostream>
-#include <iterator>
-#include <string>
-#include <vector>
-
-#include "lldb-headers.h"
-
-#include "common.h"
-
-using namespace std;
-using namespace lldb;
-
-void test(SBDebugger &dbg, std::vector<string> args);
-
-int main(int argc, char** argv) {
- int code = 0;
-
- SBDebugger::Initialize();
- SBDebugger dbg = SBDebugger::Create();
-
- try {
- if (!dbg.IsValid())
- throw Exception("invalid debugger");
- vector<string> args(argv + 1, argv + argc);
-
- test(dbg, args);
- } catch (Exception &e) {
- cout << "ERROR: " << e.what() << endl;
- code = 1;
- }
-
- SBDebugger::Destroy(dbg);
- return code;
-}