summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>2018-06-15 00:55:53 +0000
committerJason Molenda <jmolenda@apple.com>2018-06-15 00:55:53 +0000
commit52560ba1053c0abb307f7d91bbf97f3a39da63ce (patch)
tree5161cd43c5771faea288fe58a9597061a3d658c3 /lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp
parent36bb0ad07898e40ca2ff26f13f16482940a722b1 (diff)
downloadbcm5719-llvm-52560ba1053c0abb307f7d91bbf97f3a39da63ce.tar.gz
bcm5719-llvm-52560ba1053c0abb307f7d91bbf97f3a39da63ce.zip
Change TestExec.py from creating an i386+x86_64 fat binary
on darwin systems and re-execing itself, to creating two separate test programs; lldb runs the first program and it exec's the second. Support for compiling for i386 is going away. llvm-svn: 334783
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp
new file mode 100644
index 00000000000..5653471c153
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.cpp
@@ -0,0 +1,5 @@
+#include <stdio.h>
+int main ()
+{
+ puts ("I am the second program."); // Set breakpoint 2 here
+}
OpenPOWER on IntegriCloud