diff options
author | Mitch Phillips <mitchphillips@outlook.com> | 2017-11-01 23:39:41 +0000 |
---|---|---|
committer | Mitch Phillips <mitchphillips@outlook.com> | 2017-11-01 23:39:41 +0000 |
commit | 4ab6fc0cd61bb9367fcb4963cc62aef08ecf74c5 (patch) | |
tree | 8b3f78decfdd3d8dadb1d5efcbec31dea7acc374 | |
parent | 4d629b80237c0a42601b7e1bc02202e3c33183bf (diff) | |
download | bcm5719-llvm-4ab6fc0cd61bb9367fcb4963cc62aef08ecf74c5.tar.gz bcm5719-llvm-4ab6fc0cd61bb9367fcb4963cc62aef08ecf74c5.zip |
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
llvm-svn: 317141
-rw-r--r-- | llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp | 8 | ||||
-rw-r--r-- | llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp index 808b9927fcc..7366ff0cf30 100644 --- a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp +++ b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp @@ -41,17 +41,17 @@ using Instr = llvm::cfi_verify::FileAnalysis::Instr; namespace llvm { namespace cfi_verify { -uint64_t SearchLengthForUndef; -uint64_t SearchLengthForConditionalBranch; +unsigned long long SearchLengthForUndef; +unsigned long long SearchLengthForConditionalBranch; -static cl::opt<uint64_t, true> SearchLengthForUndefArg( +static cl::opt<unsigned long long, true> SearchLengthForUndefArg( "search-length-undef", cl::desc("Specify the maximum amount of instructions " "to inspect when searching for an undefined " "instruction from a conditional branch."), cl::location(SearchLengthForUndef), cl::init(2)); -static cl::opt<uint64_t, true> SearchLengthForConditionalBranchArg( +static cl::opt<unsigned long long, true> SearchLengthForConditionalBranchArg( "search-length-cb", cl::desc("Specify the maximum amount of instructions " "to inspect when searching for a conditional " diff --git a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h index 3536520d590..12d9c95e3cf 100644 --- a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h +++ b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.h @@ -47,8 +47,8 @@ using Instr = llvm::cfi_verify::FileAnalysis::Instr; namespace llvm { namespace cfi_verify { -extern uint64_t SearchLengthForUndef; -extern uint64_t SearchLengthForConditionalBranch; +extern unsigned long long SearchLengthForUndef; +extern unsigned long long SearchLengthForConditionalBranch; struct ConditionalBranchNode { uint64_t Address; |