xref: /llvm-project/compiler-rt/test/profile/instrprof-merge-empty-data.test (revision f52f8e817ea36e003e8f09672de48c3c460093f4)
1// Test online merging with empty data section.
2// RUN: rm -rf %t.dir && split-file %s %t.dir && cd %t.dir
3// RUN: %clangxx_profgen -fcoverage-mapping -o %t main.c -fprofile-list=funlist
4// RUN: env LLVM_PROFILE_FILE='a%m.profraw' %t
5// RUN: env LLVM_PROFILE_FILE='a%m.profraw' %t 2>&1 | FileCheck %s --allow-empty
6
7// CHECK-NOT: LLVM Profile Error
8
9//--- main.c
10int main() {}
11
12//--- funlist
13[clang]
14default:skip
15