]> granicus.if.org Git - clang/commitdiff
Revert test added in r299152
authorTeresa Johnson <tejohnson@google.com>
Fri, 31 Mar 2017 04:29:07 +0000 (04:29 +0000)
committerTeresa Johnson <tejohnson@google.com>
Fri, 31 Mar 2017 04:29:07 +0000 (04:29 +0000)
Removing the test until I can figure out how to get the ThinLTO backend
invocation of clang to use the correct target.

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

test/CodeGen/function-sections.c

index cef24be773876650a289ea9bcd02e46162548a2a..734b7e2fc979eedb6078f359fe898911e8537282 100644 (file)
@@ -9,12 +9,6 @@
 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -S -fdata-sections -o - < %s | FileCheck %s --check-prefix=DATA_SECT
 // RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -S -fno-data-sections -fdata-sections -o - < %s | FileCheck %s --check-prefix=DATA_SECT
 
-// Try again through a clang invocation of the ThinLTO backend.
-// RUN: %clang_cc1 -triple x86_64-pc-linux-gnu -O2 %s -flto=thin -emit-llvm-bc -o %t.o
-// RUN: llvm-lto -thinlto -o %t %t.o
-// RUN: %clang -Xclang -triple -Xclang x86_64-pc-linux-gnu -Xclang -target-cpu -Xclang x86-64 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -S -ffunction-sections -o - | FileCheck %s --check-prefix=FUNC_SECT
-// RUN: %clang -Xclang -triple -Xclang x86_64-pc-linux-gnu -Xclang -target-cpu -Xclang x86-64 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -S -fdata-sections -o - | FileCheck %s --check-prefix=DATA_SECT
-
 const int hello = 123;
 void world() {}