diff --git a/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp b/llvm/tools/llvm-cfi-verify/lib/GraphBuilder.cpp index 808b9927fccf..7366ff0cf302 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 SearchLengthForUndefArg( +static cl::opt 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 SearchLengthForConditionalBranchArg( +static cl::opt 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 3536520d590c..12d9c95e3cf6 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;