comparison clang/test/Integration/thinlto_profile_sample_accurate.c @ 207:2e18cbf3894f

LLVM12
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Tue, 08 Jun 2021 06:07:14 +0900
parents 1d019706d866
children c4bab56944e8
comparison
equal deleted inserted replaced
173:0572611fdcc8 207:2e18cbf3894f
1 // XFAIL: aix
2
1 // Test to ensure -emit-llvm profile-sample-accurate is honored in ThinLTO. 3 // Test to ensure -emit-llvm profile-sample-accurate is honored in ThinLTO.
2 // RUN: %clang -O2 %s -flto=thin -fprofile-sample-accurate -c -o %t.o 4 // RUN: %clang -O2 %s -flto=thin -fprofile-sample-accurate -c -o %t.o
3 // RUN: llvm-lto -thinlto -o %t %t.o 5 // RUN: llvm-lto -thinlto -o %t %t.o
4 // RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s 6 // RUN: %clang_cc1 -O2 -x ir %t.o -fthinlto-index=%t.thinlto.bc -emit-llvm -o - | FileCheck %s
5 7