[Lldb-commits] [lldb] r167600 - in /lldb/trunk/test: functionalities/expr-doesnt-deadlock/Makefile functionalities/stop-hook/multiple_threads/Makefile functionalities/watchpoint/hello_watchlocation/Makefile functionalities/watchpoint/multiple_threads/Makefile functionalities/watchpoint/watchpoint_set_command/Makefile lang/c/blocks/Makefile lang/c/shared_lib/Makefile python_api/lldbutil/iter/Makefile python_api/lldbutil/process/Makefile python_api/module_section/Makefile python_api/watchpoint/watchlocation/Makefile
Jason Molenda
jmolenda at apple.com
Thu Nov 8 15:50:33 PST 2012
Author: jmolenda
Date: Thu Nov 8 17:50:33 2012
New Revision: 167600
URL: http://llvm.org/viewvc/llvm-project?rev=167600&view=rev
Log:
Patch from Dan Malea daniel.malea at gmail.com to add some required
flags to the Linux makefiles to get the tests to run.
Modified:
lldb/trunk/test/functionalities/expr-doesnt-deadlock/Makefile
lldb/trunk/test/functionalities/stop-hook/multiple_threads/Makefile
lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/Makefile
lldb/trunk/test/functionalities/watchpoint/multiple_threads/Makefile
lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/Makefile
lldb/trunk/test/lang/c/blocks/Makefile
lldb/trunk/test/lang/c/shared_lib/Makefile
lldb/trunk/test/python_api/lldbutil/iter/Makefile
lldb/trunk/test/python_api/lldbutil/process/Makefile
lldb/trunk/test/python_api/module_section/Makefile
lldb/trunk/test/python_api/watchpoint/watchlocation/Makefile
Modified: lldb/trunk/test/functionalities/expr-doesnt-deadlock/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/expr-doesnt-deadlock/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/expr-doesnt-deadlock/Makefile (original)
+++ lldb/trunk/test/functionalities/expr-doesnt-deadlock/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../make
+CFLAGS_EXTRAS := -lpthread
C_SOURCES := locking.c
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/functionalities/stop-hook/multiple_threads/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/stop-hook/multiple_threads/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/stop-hook/multiple_threads/Makefile (original)
+++ lldb/trunk/test/functionalities/stop-hook/multiple_threads/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/Makefile (original)
+++ lldb/trunk/test/functionalities/watchpoint/hello_watchlocation/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/functionalities/watchpoint/multiple_threads/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/multiple_threads/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/multiple_threads/Makefile (original)
+++ lldb/trunk/test/functionalities/watchpoint/multiple_threads/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/Makefile (original)
+++ lldb/trunk/test/functionalities/watchpoint/watchpoint_set_command/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/lang/c/blocks/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/blocks/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/blocks/Makefile (original)
+++ lldb/trunk/test/lang/c/blocks/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../../make
C_SOURCES := main.c
+CFLAGS_EXTRAS += -fblocks
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/lang/c/shared_lib/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/lang/c/shared_lib/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/lang/c/shared_lib/Makefile (original)
+++ lldb/trunk/test/lang/c/shared_lib/Makefile Thu Nov 8 17:50:33 2012
@@ -3,5 +3,6 @@
DYLIB_NAME := libfoo
DYLIB_C_SOURCES := foo.c
C_SOURCES := main.c
+CFLAGS_EXTRAS += -fPIC
include $(LEVEL)/Makefile.rules
Modified: lldb/trunk/test/python_api/lldbutil/iter/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/lldbutil/iter/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/python_api/lldbutil/iter/Makefile (original)
+++ lldb/trunk/test/python_api/lldbutil/iter/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,7 @@
LEVEL = ../../../make
+CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
MAKE_DSYM :=NO
Modified: lldb/trunk/test/python_api/lldbutil/process/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/lldbutil/process/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/python_api/lldbutil/process/Makefile (original)
+++ lldb/trunk/test/python_api/lldbutil/process/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,7 @@
LEVEL = ../../../make
+CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
MAKE_DSYM :=NO
Modified: lldb/trunk/test/python_api/module_section/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/module_section/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/python_api/module_section/Makefile (original)
+++ lldb/trunk/test/python_api/module_section/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,7 @@
LEVEL = ../../make
+CFLAGS_EXTRAS := -D__STDC_LIMIT_MACROS
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp b.cpp c.cpp
MAKE_DSYM :=NO
Modified: lldb/trunk/test/python_api/watchpoint/watchlocation/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/python_api/watchpoint/watchlocation/Makefile?rev=167600&r1=167599&r2=167600&view=diff
==============================================================================
--- lldb/trunk/test/python_api/watchpoint/watchlocation/Makefile (original)
+++ lldb/trunk/test/python_api/watchpoint/watchlocation/Makefile Thu Nov 8 17:50:33 2012
@@ -1,5 +1,6 @@
LEVEL = ../../../make
+LDFLAGS := -lpthread
CXX_SOURCES := main.cpp
include $(LEVEL)/Makefile.rules
More information about the lldb-commits
mailing list