summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/module_section/b.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2012-03-16 21:55:42 +0000
committerJohnny Chen <johnny.chen@apple.com>2012-03-16 21:55:42 +0000
commit1b72f09150b1333e33773882e9c035ac896acc5e (patch)
tree2d03ba33e15db13fdbd92fb68812690f937f9ed6 /lldb/test/python_api/module_section/b.cpp
parentf6af30f4c7d91d61d2ccb7cdb450872c11eef214 (diff)
downloadbcm5719-llvm-1b72f09150b1333e33773882e9c035ac896acc5e.tar.gz
bcm5719-llvm-1b72f09150b1333e33773882e9c035ac896acc5e.zip
Export the APIs submitted by Dawn to the Python bindings. Add a simple test case for the SBModule.compile_unit_iter() API.
llvm-svn: 152952
Diffstat (limited to 'lldb/test/python_api/module_section/b.cpp')
-rw-r--r--lldb/test/python_api/module_section/b.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/lldb/test/python_api/module_section/b.cpp b/lldb/test/python_api/module_section/b.cpp
new file mode 100644
index 00000000000..4e3e54138e5
--- /dev/null
+++ b/lldb/test/python_api/module_section/b.cpp
@@ -0,0 +1,3 @@
+int b_function(int input) {
+ return input * 2;
+}
OpenPOWER on IntegriCloud