summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2017-04-12 00:19:54 +0000
committerJim Ingham <jingham@apple.com>2017-04-12 00:19:54 +0000
commitbdbdd229375f1b7c112bb5ecef8aeb603ad8d07f (patch)
treee926f3476911b1b39db27364a4c9df1fc41b0056 /lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp
parenta76349bffe3ad01cfffbc14f8077ab2df65314aa (diff)
downloadbcm5719-llvm-bdbdd229375f1b7c112bb5ecef8aeb603ad8d07f.tar.gz
bcm5719-llvm-bdbdd229375f1b7c112bb5ecef8aeb603ad8d07f.zip
Teach SBFrame how to guess its language.
<rdar://problem/31411646> llvm-svn: 300012
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp
new file mode 100644
index 00000000000..41f4f26079a
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/frame-language/other.cpp
@@ -0,0 +1,10 @@
+#include "other.h"
+
+extern "C" void some_func();
+
+void
+Other::DoSomething()
+{
+ some_func();
+}
+
OpenPOWER on IntegriCloud