[llvm-commits] CVS: llvm/tools/llvm-prof/llvm-prof.cpp

Reid Spencer reid at x10sys.com
Wed May 24 12:21:32 PDT 2006



Changes in directory llvm/tools/llvm-prof:

llvm-prof.cpp updated: 1.27 -> 1.28
---
Log message:

For PR786: http://llvm.cs.uiuc.edu/PR786 :
Minor tweaks in public headers and a few .cpp files so that LLVM can build
successfully with -pedantic and projects using LLVM with -pedantic don't 
get warnings from LLVM. There's still more -pedantic warnings to fix.


---
Diffs of the changes:  (+1 -1)

 llvm-prof.cpp |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


Index: llvm/tools/llvm-prof/llvm-prof.cpp
diff -u llvm/tools/llvm-prof/llvm-prof.cpp:1.27 llvm/tools/llvm-prof/llvm-prof.cpp:1.28
--- llvm/tools/llvm-prof/llvm-prof.cpp:1.27	Fri Dec 30 03:07:29 2005
+++ llvm/tools/llvm-prof/llvm-prof.cpp	Wed May 24 14:21:12 2006
@@ -139,7 +139,7 @@
     sort(FunctionCounts.begin(), FunctionCounts.end(),
               PairSecondSortReverse<Function*>());
 
-    unsigned long long TotalExecutions = 0;
+    uint64_t TotalExecutions = 0;
     for (unsigned i = 0, e = FunctionCounts.size(); i != e; ++i)
       TotalExecutions += FunctionCounts[i].second;
 






More information about the llvm-commits mailing list