diff options
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp b/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp index 36cf3e9..97b5d5c 100644 --- a/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp +++ b/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp @@ -58,7 +58,7 @@ bool EdgeProfiler::runOnModule(Module &M) {        NumEdges += BB->getTerminator()->getNumSuccessors();      } -  const Type *ATy = ArrayType::get(Type::UIntTy, NumEdges); +  const Type *ATy = ArrayType::get(Type::Int32Ty, NumEdges);    GlobalVariable *Counters =      new GlobalVariable(ATy, false, GlobalValue::InternalLinkage,                         Constant::getNullValue(ATy), "EdgeProfCounters", &M);  | 
