llvm.org GIT mirror llvm / 2471073
Update cl::opt<uint64_t> instances to cl::opt<unsigned long long> cl::opt<uint64_t> fails when parsing command line arguments. See https://bugs.llvm.org/show_bug.cgi?id=19665. Reviewers: pcc Subscribers: mgorny, llvm-commits, kcc Differential Revision: https://reviews.llvm.org/D38657 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@317141 91177308-0d34-0410-b5e6-96231b3b80d8 Mitch Phillips 1 year, 11 months ago
2 changed file(s) with 7 addition(s) and 7 deletion(s). Raw diff Collapse all Expand all
4040 namespace llvm {
4141 namespace cfi_verify {
4242
43 uint64_t SearchLengthForUndef;
44 uint64_t SearchLengthForConditionalBranch;
45
46 static cl::opt SearchLengthForUndefArg(
43 unsigned long long SearchLengthForUndef;
44 unsigned long long SearchLengthForConditionalBranch;
45
46 static cl::opt SearchLengthForUndefArg(
4747 "search-length-undef",
4848 cl::desc("Specify the maximum amount of instructions "
4949 "to inspect when searching for an undefined "
5050 "instruction from a conditional branch."),
5151 cl::location(SearchLengthForUndef), cl::init(2));
5252
53 static cl::optint64_t, true> SearchLengthForConditionalBranchArg(
53 static cl::optnsigned long long, true> SearchLengthForConditionalBranchArg(
5454 "search-length-cb",
5555 cl::desc("Specify the maximum amount of instructions "
5656 "to inspect when searching for a conditional "
4646 namespace llvm {
4747 namespace cfi_verify {
4848
49 extern uint64_t SearchLengthForUndef;
50 extern uint64_t SearchLengthForConditionalBranch;
49 extern unsigned long long SearchLengthForUndef;
50 extern unsigned long long SearchLengthForConditionalBranch;
5151
5252 struct ConditionalBranchNode {
5353 uint64_t Address;