aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
committerBill Wendling <isanbard@gmail.com>2006-12-07 01:30:32 +0000
commitf3baad3ee14689641493a578f3a1561cb15ac517 (patch)
tree9259790ab0eabbd126ea6426cd08226883090062 /llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
parentd8e7451dc3414cfc43a7622e5f0051a5ac5e94a2 (diff)
downloadllvm-f3baad3ee14689641493a578f3a1561cb15ac517.zip
llvm-f3baad3ee14689641493a578f3a1561cb15ac517.tar.gz
llvm-f3baad3ee14689641493a578f3a1561cb15ac517.tar.bz2
Changed llvm_ostream et all to OStream. llvm_cerr, llvm_cout, llvm_null, are
now cerr, cout, and NullStream resp. llvm-svn: 32298
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp b/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
index 40a8faa..36cf3e9 100644
--- a/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
+++ b/llvm/lib/Transforms/Instrumentation/EdgeProfiling.cpp
@@ -17,6 +17,7 @@
//
//===----------------------------------------------------------------------===//
+#include "ProfilingUtils.h"
#include "llvm/Constants.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
@@ -24,7 +25,6 @@
#include "llvm/Support/Streams.h"
#include "llvm/Transforms/Utils/BasicBlockUtils.h"
#include "llvm/Transforms/Instrumentation.h"
-#include "ProfilingUtils.h"
#include <set>
using namespace llvm;
@@ -42,8 +42,8 @@ ModulePass *llvm::createEdgeProfilerPass() { return new EdgeProfiler(); }
bool EdgeProfiler::runOnModule(Module &M) {
Function *Main = M.getMainFunction();
if (Main == 0) {
- llvm_cerr << "WARNING: cannot insert edge profiling into a module"
- << " with no main function!\n";
+ cerr << "WARNING: cannot insert edge profiling into a module"
+ << " with no main function!\n";
return false; // No main, no instrumentation!
}