]> granicus.if.org Git - clang/commitdiff
Revert "Try to run and investigate the mips-mti-linux.c test failure on ARM buildbots."
authorRenato Golin <renato.golin@linaro.org>
Fri, 30 Oct 2015 11:12:36 +0000 (11:12 +0000)
committerRenato Golin <renato.golin@linaro.org>
Fri, 30 Oct 2015 11:12:36 +0000 (11:12 +0000)
This reverts commit r251695. Debug is meant to be done off tree, not use the buildbots
experiments. I'll help investigate this problem off trunk.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@251696 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Driver/Tools.cpp
test/Driver/mips-mti-linux.c

index 8da91d5f245d3bd5d376013d7bdef973ced6f253..dc11316cdcdc38aabd1eaf436b25d84feeb35d05 100644 (file)
@@ -8469,19 +8469,6 @@ void gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA,
         CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath(crt1)));
 
       CmdArgs.push_back(Args.MakeArgString(ToolChain.GetFilePath("crti.o")));
-
-      if (ToolChain.getTriple().getVendor() == llvm::Triple::MipsTechnologies &&
-          !ToolChain.getTriple().hasEnvironment()) {
-        // Print look-up paths for crt files.
-        llvm::errs() << "Looked for crti.o in: ";
-        llvm::errs() << "#### PrefixDirs #### - ";
-        for (const std::string &Dir : D.PrefixDirs)
-          llvm::errs() << "Dir: " << Dir << ", ";
-        llvm::errs() << "#### TC.getFilePaths() #### - ";
-        for (const std::string &Dir : ToolChain.getFilePaths())
-          llvm::errs() << "Dir: " << Dir << ",";
-        llvm::errs() << "\n";
-      }
     }
 
     const char *crtbegin;
index c19e532884fd9103d1bd6c8f4185c7c3700cc407..c973ed28220a910248b76278c5e9f69ecaa62aa5 100644 (file)
@@ -5,15 +5,14 @@
 //        Ideally, we'd like to have an --llvm-toolchain option similar to
 //        the --gcc-toolchain one.
 
-// XFAIL: i386, i686, x86_64, win32, win64, powerpc64, s390x, r600, xcore, hexagon, sparc, darwin, asan, msan
+// RUN: false
+// XFAIL: *
 
 // = Big-endian, mips32r2, hard float
-// RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
-// RUN:     --target=mips-mti-linux -mips32r2 -mhard-float \
-// RUN:     --sysroot=%S/Inputs/mips_mti_linux/sysroot \
-// RUN:   | FileCheck --check-prefix=CHECK-BE-HF-32R2 %s
-//
-// CHECK-BE-HF-32R2: Looked for crt1.o
+// R!N: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
+// R!N:     --target=mips-mti-linux -mips32r2 -mhard-float \
+// R!N:     --sysroot=%S/Inputs/mips_mti_linux/sysroot \
+// R!N:   | FileCheck --check-prefix=CHECK-BE-HF-32R2 %s
 //
 // CHECK-BE-HF-32R2: "{{[^"]*}}clang{{[^"]*}}" {{.*}} "-triple" "mips-mti-linux"
 // CHECK-BE-HF-32R2-SAME: "-fuse-init-array" "-target-cpu" "mips32r2"