llvm-for-llvmta/test/tools/llvm-cov/gcov/demangled-names.test

11 lines
371 B
Plaintext

# Test --demangled-names (-m).
RUN: rm -rf %t && mkdir %t && cd %t
RUN: cp %S/Inputs/test.cpp %S/Inputs/test.gcno %S/Inputs/test.gcda .
RUN: llvm-cov gcov -b -f -m test.gcda | FileCheck %s
RUN: llvm-cov gcov -b -f --demangled-names test.gcda | FileCheck %s
RUN: FileCheck %s --check-prefix=BRANCH < test.cpp.gcov
CHECK: Function 'A::B()'
BRANCH: function A::B() called