1RUN: mkdir -p %t.d 2RUN: %clangxx_profgen -o %t.d/comdat -fcoverage-mapping -fuse-ld=gold %S/../Inputs/instrprof-comdat-1.cpp %S/../Inputs/instrprof-comdat-2.cpp 3RUN: LLVM_PROFILE_FILE=%t-comdat.profraw %t.d/comdat 4RUN: llvm-profdata merge -o %t.d/comdat.prof %t-comdat.profraw 5RUN: llvm-cov show --filename-equivalence --instr-profile=%t.d/comdat.prof %t.d/comdat | FileCheck --check-prefix=HEADER %S/../Inputs/instrprof-comdat.h 6 7