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

11 lines
371 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
# 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