diff options
| author | Teresa Johnson <tejohnson@google.com> | 2017-03-31 03:49:52 +0000 |
|---|---|---|
| committer | Teresa Johnson <tejohnson@google.com> | 2017-03-31 03:49:52 +0000 |
| commit | 163e4992b7a154719fe660f3e7b15e96a551dc2a (patch) | |
| tree | 5aabc19f4cdcc94acf075f590cf549f4f818d025 | |
| parent | b1f802cf800eec3b7523024ca955dbd56213594d (diff) | |
| download | bcm5719-llvm-163e4992b7a154719fe660f3e7b15e96a551dc2a.tar.gz bcm5719-llvm-163e4992b7a154719fe660f3e7b15e96a551dc2a.zip | |
Add target-cpu
Sigh, another follow-on fix needed for test in r299152 causing bot
failures. We also need the target-cpu for the ThinLTO BE clang
invocation.
llvm-svn: 299178
| -rw-r--r-- | clang/test/CodeGen/function-sections.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGen/function-sections.c b/clang/test/CodeGen/function-sections.c index fe131bba1b7..cef24be7738 100644 --- a/clang/test/CodeGen/function-sections.c +++ b/clang/test/CodeGen/function-sections.c @@ -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 -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 +// 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() {} |

