mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
llvm-cov: Added -c option for branch counts.
This will cause llvm-cov to output branch counts instead of branch probabilities. -b must be enabled. Also updated tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197594 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -36,11 +36,12 @@ namespace GCOV {
|
||||
|
||||
/// GCOVOptions - A struct for passing gcov options between functions.
|
||||
struct GCOVOptions {
|
||||
GCOVOptions(bool A, bool B, bool U) :
|
||||
AllBlocks(A), BranchProb(B), UncondBranch(U) {}
|
||||
GCOVOptions(bool A, bool B, bool C, bool U) :
|
||||
AllBlocks(A), BranchInfo(B), BranchCount(C), UncondBranch(U) {}
|
||||
|
||||
bool AllBlocks;
|
||||
bool BranchProb;
|
||||
bool BranchInfo;
|
||||
bool BranchCount;
|
||||
bool UncondBranch;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user