From 968bb72f5869fe524c64ab520f66b05a57c3f561 Mon Sep 17 00:00:00 2001 From: Sean Callanan Date: Tue, 7 Jun 2016 17:22:18 +0000 Subject: Make lldbinline.py regenerate the Makefile each time it builds. If a lldbinline test's source file changed language, then the Makefile wasn't updated. This was a problem if the Makefile was checked into the repository. Now lldbinline.py always regenerates the Makefile and asserts if the newly-generated version is not the same as the one already there. This ensures that the repository will never be out of date without a buildbot failing. http://reviews.llvm.org/D21032 llvm-svn: 272024 --- .../lldbsuite/test/python_api/sbvalue_const_addrof/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lldb/packages/Python/lldbsuite/test/python_api') diff --git a/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile index a9c1edd1bdc..18bf477fa9f 100644 --- a/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile +++ b/lldb/packages/Python/lldbsuite/test/python_api/sbvalue_const_addrof/Makefile @@ -1,4 +1,13 @@ LEVEL = ../../make CXX_SOURCES := main.cpp CXXFLAGS += -std=c++11 +ifneq (,$(findstring clang,$(CC))) + CFLAGS_EXTRAS += -fno-limit-debug-info +endif + include $(LEVEL)/Makefile.rules + + +cleanup: + rm -f Makefile *.d + -- cgit v1.2.3