Author: echristo Date: Mon Jul 15 17:02:40 2019 New Revision: 366157 URL: http://llvm.org/viewvc/llvm-project?rev=366157&view=rev Log: Temporarily revert "add -fthinlto-index= option to clang-cl"
This is causing testsuite failures on (at least) darwin release+asserts. This reverts commit r366146. Removed: cfe/trunk/test/Driver/cl-thinlto-backend.c Modified: cfe/trunk/include/clang/Driver/Options.td Modified: cfe/trunk/include/clang/Driver/Options.td URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Driver/Options.td?rev=366157&r1=366156&r2=366157&view=diff ============================================================================== --- cfe/trunk/include/clang/Driver/Options.td (original) +++ cfe/trunk/include/clang/Driver/Options.td Mon Jul 15 17:02:40 2019 @@ -1270,7 +1270,7 @@ def flto_jobs_EQ : Joined<["-"], "flto-j "of 0 means the number of threads will be derived from " "the number of CPUs detected)">; def fthinlto_index_EQ : Joined<["-"], "fthinlto-index=">, - Flags<[CoreOption, CC1Option]>, Group<f_Group>, + Flags<[CC1Option]>, Group<f_Group>, HelpText<"Perform ThinLTO importing using provided function summary index">; def fmacro_backtrace_limit_EQ : Joined<["-"], "fmacro-backtrace-limit=">, Group<f_Group>, Flags<[DriverOption, CoreOption]>; Removed: cfe/trunk/test/Driver/cl-thinlto-backend.c URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/cl-thinlto-backend.c?rev=366156&view=auto ============================================================================== --- cfe/trunk/test/Driver/cl-thinlto-backend.c (original) +++ cfe/trunk/test/Driver/cl-thinlto-backend.c (removed) @@ -1,9 +0,0 @@ -// RUN: %clang_cl -c -flto=thin -Fo%t.obj %s -// RUN: llvm-lto2 run -thinlto-distributed-indexes -o %t.exe %t.obj - -// -fthinlto_index should be passed to cc1 -// RUN: %clang_cl -### -c -fthinlto-index=%t.thinlto.bc -Fo%t1.obj \ -// RUN: %t.obj 2>&1 | FileCheck %s - -// CHECK: -fthinlto-index= -// CHECK: "-x" "ir" _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits