summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk
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.mk
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.mk')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk13
1 files changed, 13 insertions, 0 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk
new file mode 100644
index 00000000000..88f54705998
--- /dev/null
+++ b/lldb/packages/Python/lldbsuite/test/functionalities/exec/secondprog.mk
@@ -0,0 +1,13 @@
+LEVEL = ../../make
+
+CXX_SOURCES := secondprog.cpp
+
+all: secondprog
+
+secondprog:
+ $(CXX) $(CXXFLAGS) -o secondprog $(SRCDIR)/secondprog.cpp
+
+clean::
+ rm -rf secondprog secondprog.dSYM
+
+include $(LEVEL)/Makefile.rules
OpenPOWER on IntegriCloud