forked from OSchip/llvm-project
7 lines
414 B
Plaintext
7 lines
414 B
Plaintext
RUN: mkdir -p %t.d
|
|
RUN: %clangxx_profgen -o %t.d/comdat -fcoverage-mapping -fuse-ld=gold %S/../Inputs/instrprof-comdat-1.cpp %S/../Inputs/instrprof-comdat-2.cpp
|
|
RUN: LLVM_PROFILE_FILE=%t-comdat.profraw %run %t.d/comdat
|
|
RUN: llvm-profdata merge -o %t.d/comdat.prof %t-comdat.profraw
|
|
RUN: llvm-cov show --instr-profile=%t.d/comdat.prof %t.d/comdat | FileCheck --check-prefix=HEADER %S/../Inputs/instrprof-comdat.h
|
|
|