<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">The test passes locally, but the cmake job is failing in the exact same way as the Xcode one. Based on the error, it looks like the compiler invocation has failed.<div class=""><br class=""></div><div class="">.. and, aha!, here is the failed invocation:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">green-dragon-23:non-overlapping-index-variable-i buildslave$ make MAKE_DSYM=NO MAKE_GMODULES=YES ARCH=x86_64 CC="/Users/buildslave/jenkins/workspace/lldb-cmake/host-compiler/bin/clang-7.0"</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">/Users/buildslave/jenkins/workspace/lldb-cmake/host-compiler/bin/clang-7.0  -std=c++11 -g -O0 -fno-builtin -arch x86_64  -I/Users/buildslave/jenkins/workspace/lldb-cmake/src/llvm/tools/lldb/packages/Python/lldbsuite/test/make/../../../../../include -include /Users/buildslave/jenkins/workspace/lldb-cmake/src/llvm/tools/lldb/packages/Python/lldbsuite/test/make/test_common.h -I/Users/buildslave/jenkins/workspace/lldb-cmake/src/llvm/tools/lldb/packages/Python/lldbsuite/test/make/  -fno-limit-debug-info   -fmodules -gmodules -fmodules-cache-path=module-cache --driver-mode=g++ -c -o main.o main.cpp</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">main.cpp:27:9: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">no matching constructor for initialization of 'Point'</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        point(0, 0)</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">        ^     ~~~~</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ffffff" class=""><b class="">/usr/include/MacTypes.h:538:8: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><b class="">note: </b></span><span style="font-variant-ligatures: no-common-ligatures" class="">candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">struct Point {</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">       ^</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ffffff" class=""><b class="">/usr/include/MacTypes.h:538:8: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><b class="">note: </b></span><span style="font-variant-ligatures: no-common-ligatures" class="">candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures; color: #ffffff" class=""><b class="">/usr/include/MacTypes.h:538:8: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #000000" class=""><b class="">note: </b></span><span style="font-variant-ligatures: no-common-ligatures" class="">candidate constructor (the implicit default constructor) not viable: requires 0 arguments, but 2 were provided</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">main.cpp:36:23: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">no member named 'x' in 'Point'</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        ptr[i]->point.x = i;</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">        ~~~~~~~~~~~~~ ^</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">main.cpp:37:23: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">no member named 'y' in 'Point'</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        ptr[i]->point.y = i+1;</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">        ~~~~~~~~~~~~~ ^</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">main.cpp:47:77: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">no member named 'x' in 'Point'</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">            printf("data[%d] = %d (%d, %d)\n", i, ptr[i]->id, ptr[i]->point.x, ptr[i]->point.y);</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">                                                              ~~~~~~~~~~~~~ ^</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">main.cpp:47:94: </b></span><span style="font-variant-ligatures: no-common-ligatures; color: #c33720" class=""><b class="">error: </b></span><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">no member named 'y' in 'Point'</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">            printf("data[%d] = %d (%d, %d)\n", i, ptr[i]->id, ptr[i]->point.x, ptr[i]->point.y);</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(52, 188, 38); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><b class="">                                                                               ~~~~~~~~~~~~~ ^</b></span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">5 errors generated.</span></div><div style="margin: 0px; font-size: 15px; line-height: normal; font-family: Menlo; color: rgb(244, 244, 244); background-color: rgb(0, 0, 0);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">make: *** [main.o] Error 1</span></div><div class=""><br class=""></div><div class="">It looks like we're picking up "struct Point" from /usr/include/MacTypes.h!</div><div class=""><br class=""></div><div class="">vedant</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jan 25, 2018, at 1:02 PM, Vedant Kumar <<a href="mailto:vsk@apple.com" class="">vsk@apple.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Taking a look. It may be another instance of a test not actually running with -fmodules in the -gmodules configuration.<br class=""><br class="">vedant<br class=""><br class=""><blockquote type="cite" class="">On Jan 25, 2018, at 12:40 PM, Davide Italiano <<a href="mailto:dccitaliano@gmail.com" class="">dccitaliano@gmail.com</a>> wrote:<br class=""><br class="">The bot started failing recently, and this commit seems the most likely culprit.<br class=""><br class=""><a href="http://lab.llvm.org:8080/green/view/LLDB/job/lldb-xcode/4513/" class="">http://lab.llvm.org:8080/green/view/LLDB/job/lldb-xcode/4513/</a><br class=""><br class=""><br class="">Can you please take a look, Vedant?<br class=""><br class="">Thanks,<br class=""><br class="">--<br class="">Davide<br class=""><br class="">On Thu, Jan 25, 2018 at 10:01 AM, Vedant Kumar via lldb-commits<br class=""><lldb-commits@lists.llvm.org> wrote:<br class=""><blockquote type="cite" class="">Author: vedantk<br class="">Date: Thu Jan 25 10:01:27 2018<br class="">New Revision: 323450<br class=""><br class="">URL: http://llvm.org/viewvc/llvm-project?rev=323450&view=rev<br class="">Log:<br class="">Use test-specific module caches to avoid stale header conflicts<br class=""><br class="">Stale global module caches cause problems for the bots. The modules<br class="">become invalid when clang headers are updated by version control, and<br class="">tests which use these modules fail to compile, e.g:<br class=""><br class=""> fatal error: file '.../__stddef_max_align_t.h' has been modified since the module file '/var/.../Darwin.pcm' was built<br class=""> note: please rebuild precompiled header '/var/.../Darwin.pcm'<br class=""><br class="">Eventually we should transition to having just a single module cache to speed<br class="">tests up. This patch should be just enough to fix the spurious bot failures due<br class="">to stale caches.<br class=""><br class="">rdar://36479805, also related to llvm.org/PR36048<br class=""><br class="">Differential Revision: https://reviews.llvm.org/D42277<br class=""><br class="">Modified:<br class="">   lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile<br class="">   lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile<br class="">   lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile<br class="">   lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py<br class="">   lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-cpp/TestDataFormatterCpp.py Thu Jan 25 10:01:27 2018<br class="">@@ -26,6 +26,8 @@ class CppDataFormatterTestCase(TestBase)<br class="">    @expectedFailureAll(<br class="">        oslist=["windows"],<br class="">        bugnumber="llvm.org/pr24462: Data formatters have problems on Windows")<br class="">+    @skipIf(debug_info="gmodules",<br class="">+            bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")<br class="">    def test_with_run_command(self):<br class="">        """Test that that file and class static variables display correctly."""<br class="">        self.build()<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-globals/TestDataFormatterGlobals.py Thu Jan 25 10:01:27 2018<br class="">@@ -9,6 +9,7 @@ import os<br class="">import time<br class="">import lldb<br class="">from lldbsuite.test.lldbtest import *<br class="">+from lldbsuite.test.decorators import *<br class="">import lldbsuite.test.lldbutil as lldbutil<br class=""><br class=""><br class="">@@ -22,6 +23,8 @@ class GlobalsDataFormatterTestCase(TestB<br class="">        # Find the line number to break at.<br class="">        self.line = line_number('main.cpp', '// Set break point at this line.')<br class=""><br class="">+    @skipIf(debug_info="gmodules",<br class="">+            bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")<br class="">    def test_with_run_command(self):<br class="">        """Test that that file and class static variables display correctly."""<br class="">        self.build()<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/list/TestDataFormatterLibcxxList.py Thu Jan 25 10:01:27 2018<br class="">@@ -31,6 +31,8 @@ class LibcxxListDataFormatterTestCase(Te<br class="">                                 '// Set fourth break point at this line.')<br class=""><br class="">    @add_test_categories(["libc++"])<br class="">+    @skipIf(debug_info="gmodules",<br class="">+            bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")<br class="">    def test_with_run_command(self):<br class="">        """Test that that file and class static variables display correctly."""<br class="">        self.build()<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/vector/TestDataFormatterLibcxxVector.py Thu Jan 25 10:01:27 2018<br class="">@@ -18,6 +18,8 @@ class LibcxxVectorDataFormatterTestCase(<br class="">    mydir = TestBase.compute_mydir(__file__)<br class=""><br class="">    @add_test_categories(["libc++"])<br class="">+    @skipIf(debug_info="gmodules",<br class="">+            bugnumber="https://bugs.llvm.org/show_bug.cgi?id=36048")<br class="">    def test_with_run_command(self):<br class="">        """Test that that file and class static variables display correctly."""<br class="">        self.build()<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/Makefile Thu Jan 25 10:01:27 2018<br class="">@@ -1,6 +1,6 @@<br class="">LEVEL = ../../../make<br class="">OBJC_SOURCES := main.m<br class=""><br class="">-CFLAGS += -fmodules -gmodules -g<br class="">+CFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS)<br class=""><br class="">include $(LEVEL)/Makefile.rules<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-auto-import/TestModulesAutoImport.py Thu Jan 25 10:01:27 2018<br class="">@@ -26,7 +26,7 @@ class ObjCModulesAutoImportTestCase(Test<br class="">        self.line = line_number('main.m', '// Set breakpoint 0 here.')<br class=""><br class="">    @skipUnlessDarwin<br class="">-    @skipIf(macos_version=["<", "10.12"])<br class="">+    @skipIf(macos_version=["<", "10.12"], debug_info=no_match(["gmodules"]))<br class="">    def test_expr(self):<br class="">        self.build()<br class="">        exe = self.getBuildArtifact("a.out")<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/Makefile Thu Jan 25 10:01:27 2018<br class="">@@ -4,5 +4,5 @@ OBJC_SOURCES := main.m myModule.m<br class=""><br class="">include $(LEVEL)/Makefile.rules<br class=""><br class="">-CFLAGS += -fmodules -I$(PWD)<br class="">+CFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS) -I$(PWD)<br class="">LDFLAGS += -framework Foundation<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-incomplete/TestIncompleteModules.py Thu Jan 25 10:01:27 2018<br class="">@@ -24,7 +24,7 @@ class IncompleteModulesTestCase(TestBase<br class=""><br class="">    @skipUnlessDarwin<br class="">    @unittest2.expectedFailure("rdar://20416388")<br class="">-    @skipIf(macos_version=["<", "10.12"])<br class="">+    @skipIf(macos_version=["<", "10.12"], debug_info=no_match(["gmodules"]))<br class="">    def test_expr(self):<br class="">        self.build()<br class="">        exe = self.getBuildArtifact("a.out")<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/Makefile Thu Jan 25 10:01:27 2018<br class="">@@ -6,4 +6,4 @@ OBJC_SOURCES := main.m<br class=""><br class="">include $(LEVEL)/Makefile.rules<br class=""><br class="">-CFLAGS += -fmodules -I$(PWD)<br class="">+CFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS) -I$(PWD)<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/lang/objc/modules-inline-functions/TestModulesInlineFunctions.py Thu Jan 25 10:01:27 2018<br class="">@@ -27,7 +27,7 @@ class ModulesInlineFunctionsTestCase(Tes<br class="">        self.line = line_number('main.m', '// Set breakpoint here.')<br class=""><br class="">    @skipUnlessDarwin<br class="">-    @skipIf(macos_version=["<", "10.12"])<br class="">+    @skipIf(macos_version=["<", "10.12"], debug_info=no_match(["gmodules"]))<br class="">    def test_expr(self):<br class="">        self.build()<br class="">        exe = self.getBuildArtifact("a.out")<br class=""><br class="">Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules<br class="">URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules?rev=323450&r1=323449&r2=323450&view=diff<br class="">==============================================================================<br class="">--- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules (original)<br class="">+++ lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Thu Jan 25 10:01:27 2018<br class="">@@ -237,13 +237,15 @@ ifeq "$(MAKE_DWO)" "YES"<br class="">       CFLAGS += -gsplit-dwarf<br class="">endif<br class=""><br class="">+CLANG_MODULE_CACHE_DIR := module-cache<br class="">+<br class="">+MANDATORY_MODULE_BUILD_CFLAGS := -fmodules -gmodules -fmodules-cache-path=$(CLANG_MODULE_CACHE_DIR)<br class="">+<br class="">ifeq "$(MAKE_GMODULES)" "YES"<br class="">-       CFLAGS += -fmodules -gmodules<br class="">+       CFLAGS += $(MANDATORY_MODULE_BUILD_CFLAGS)<br class="">endif<br class=""><br class="">-CXXFLAGS += -std=c++11<br class="">-# FIXME: C++ modules aren't supported on all platforms.<br class="">-CXXFLAGS += $(subst -fmodules,, $(CFLAGS))<br class="">+CXXFLAGS += -std=c++11 $(CFLAGS)<br class="">LD = $(CC)<br class="">LDFLAGS ?= $(CFLAGS)<br class="">LDFLAGS += $(LD_EXTRAS) $(ARCH_LDFLAGS)<br class="">@@ -636,7 +638,7 @@ endif<br class="">dsym:  $(DSYM)<br class="">all:   $(EXE) $(DSYM)<br class="">clean::<br class="">-       $(RM) $(OBJECTS) $(PREREQS) $(PREREQS:.d=.d.tmp) $(DWOS) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS)<br class="">+       $(RM) -rf $(OBJECTS) $(PREREQS) $(PREREQS:.d=.d.tmp) $(DWOS) $(ARCHIVE_NAME) $(ARCHIVE_OBJECTS) $(CLANG_MODULE_CACHE_DIR)<br class="">ifneq "$(DYLIB_NAME)" ""<br class="">       $(RM) -r $(DYLIB_FILENAME).dSYM<br class="">       $(RM) $(DYLIB_OBJECTS) $(DYLIB_PREREQS) $(DYLIB_PREREQS:.d=.d.tmp) $(DYLIB_DWOS) $(DYLIB_FILENAME) $(DYLIB_FILENAME).debug<br class=""><br class=""><br class="">_______________________________________________<br class="">lldb-commits mailing list<br class="">lldb-commits@lists.llvm.org<br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits<br class=""></blockquote></blockquote><br class=""></div></div></blockquote></div><br class=""></div></div></body></html>