mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
fe9ba771b2
Unified the interface for read functions. They all return a boolean indicating if the read from file succeeded. Functions that previously returned the read value now store it into a variable that is passed in by reference instead. Callers will need to check the return value to detect if an error occurred. Also added a new test which ensures that no assertions occur when file contains invalid data. llvm-cov should return with error code 1 upon failure. llvm-svn: 194635
9 lines
188 B
Plaintext
9 lines
188 B
Plaintext
RUN: cd %p/Inputs
|
|
|
|
RUN: llvm-cov -gcno=test.gcno -gcda=test.gcda \
|
|
RUN: | diff test.cpp.gcov -
|
|
|
|
RUN: not llvm-cov -gcno=test_read_fail.gcno -gcda=test.gcda
|
|
|
|
XFAIL: powerpc64, s390x, arm
|