#!/bin/bash
#
# Copyright 2021 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

exec llvm-cov gcov "$@"

Add a wrapper for llvm-cov, for lcov.
zephyr: Add a wrapper for llvm-cov, for lcov.

lcov only allows one word for the gcov tool. This let's you use llvm-cov
instead, i.e.
lcov --gcov-tool $HOME/trunk/src/platform/ec/util/llvm-gcov.sh

BUG=b:183007888
TEST=ran lcov
BRANCH=none

Signed-off-by: Jeremy Bettis <4df7b5147fee087dca33c181f288ee7dbf56e022@chromium.org>
Change-Id: I4551eb2a057d06bbb6e6511db0e41f58a391c728
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2765151
Reviewed-by: Simon Glass <c00b0378376498bd9cd974c388df8854c0131d27@chromium.org>
