xref: /aosp_15_r20/external/flashrom/scripts/llvm-cov (revision 0d6140be3aa665ecc836e8907834fcd3e3b018fc)
1*0d6140beSAndroid Build Coastguard Worker#!/bin/sh
2*0d6140beSAndroid Build Coastguard Worker
3*0d6140beSAndroid Build Coastguard Workercd "${MESON_BUILD_ROOT}"
4*0d6140beSAndroid Build Coastguard Workerllvm-profdata merge -sparse default.profraw -o default.profdata
5*0d6140beSAndroid Build Coastguard Workerllvm-cov show -instr-profile=default.profdata -format=html -output-dir=. "$@"
6*0d6140beSAndroid Build Coastguard Workerecho "file://${MESON_BUILD_ROOT}/index.html"
7