summaryrefslogtreecommitdiffstats
path: root/lldb/include/lldb/Host/OptionParser.h
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-11-23 01:58:15 +0000
committerGreg Clayton <gclayton@apple.com>2013-11-23 01:58:15 +0000
commitfb90931b60c66f6cbaec24fb1be374146c008807 (patch)
treed65f47863e7a04397b6dbad80baf9098e0b128a3 /lldb/include/lldb/Host/OptionParser.h
parentf0c1f59d7ef7f8e33486092bb42bc9486af8f3a0 (diff)
downloadbcm5719-llvm-fb90931b60c66f6cbaec24fb1be374146c008807.tar.gz
bcm5719-llvm-fb90931b60c66f6cbaec24fb1be374146c008807.zip
Improved platform support.
Improved the detection of a valid GDB server where we actually can connect to a socket, but then it doesn't read or write anything (which happens with some USB mux software). Host::MakeDirectory() now can make as many intermediate directories as needed. The testsuite now has very initial support for remote test suite running. When running on a remote platform, the setUp function for the test will make a new directory and select it as the working directory on the remote host. Added a common function that can be used to create the short option string for getopt_long calls. llvm-svn: 195541
Diffstat (limited to 'lldb/include/lldb/Host/OptionParser.h')
-rw-r--r--lldb/include/lldb/Host/OptionParser.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/include/lldb/Host/OptionParser.h b/lldb/include/lldb/Host/OptionParser.h
index 410e4d9f946..ca83eeb1ed7 100644
--- a/lldb/include/lldb/Host/OptionParser.h
+++ b/lldb/include/lldb/Host/OptionParser.h
@@ -10,6 +10,10 @@
#ifndef liblldb_OptionParser_h_
#define liblldb_OptionParser_h_
+#include <string>
+
+struct option;
+
namespace lldb_private {
typedef struct Option
@@ -46,6 +50,7 @@ public:
static char* GetOptionArgument();
static int GetOptionIndex();
static int GetOptionErrorCause();
+ static std::string GetShortOptionString(struct option *long_options);
};
}
OpenPOWER on IntegriCloud