summaryrefslogtreecommitdiffstats
path: root/lldb/source/Core/Baton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/source/Core/Baton.cpp')
-rw-r--r--lldb/source/Core/Baton.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/lldb/source/Core/Baton.cpp b/lldb/source/Core/Baton.cpp
new file mode 100644
index 00000000000..103e2e0ef0c
--- /dev/null
+++ b/lldb/source/Core/Baton.cpp
@@ -0,0 +1,25 @@
+//===-- Baton.cpp -----------------------------------------------*- C++ -*-===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+
+#include "lldb/Core/Baton.h"
+
+// C Includes
+// C++ Includes
+// Other libraries and framework includes
+// Project includes
+#include "lldb/Core/Stream.h"
+
+using namespace lldb;
+using namespace lldb_private;
+
+void
+Baton::GetDescription (Stream *s, lldb::DescriptionLevel level) const
+{
+ s->Printf("baton: %p", m_data);
+}
OpenPOWER on IntegriCloud