forked from OSchip/llvm-project
Add more target triples to test
Third and hopefully final fix to test for r299152 that is causing bot failures: make sure the target triple specified for the ThinLTO backend clang invocations as well. llvm-svn: 299176
This commit is contained in:
parent
b2e2634510
commit
0c835d21c0
|
@ -12,8 +12,8 @@
|
|||
// 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 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -S -ffunction-sections -o - | FileCheck %s --check-prefix=FUNC_SECT
|
||||
// RUN: %clang -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -S -fdata-sections -o - | FileCheck %s --check-prefix=DATA_SECT
|
||||
// RUN: %clang -Xclang -triple -Xclang x86_64-pc-linux-gnu -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 -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() {}
|
||||
|
|
Loading…
Reference in New Issue