aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/DataStructure/Local.cpp
diff options
context:
space:
mode:
authorAndrew Lenharth <andrewl@lenharth.org>2006-10-13 17:38:22 +0000
committerAndrew Lenharth <andrewl@lenharth.org>2006-10-13 17:38:22 +0000
commit7445ea6b177abcf7da1daa4abe5cbbb014fbb932 (patch)
tree1aef3aa88eaaf328b31866080f42413b3a52e465 /lib/Analysis/DataStructure/Local.cpp
parent33d06bcfd41447b94cd66126b948469d41f7f2ef (diff)
Move some warnings to debug mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30933 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/DataStructure/Local.cpp')
-rw-r--r--lib/Analysis/DataStructure/Local.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/Analysis/DataStructure/Local.cpp b/lib/Analysis/DataStructure/Local.cpp
index c70970ac31..dbfbea3981 100644
--- a/lib/Analysis/DataStructure/Local.cpp
+++ b/lib/Analysis/DataStructure/Local.cpp
@@ -544,6 +544,9 @@ void GraphBuilder::visitCallSite(CallSite CS) {
mergeWith(getValueDest(**(CS.arg_begin())));
return;
case Intrinsic::vaend:
+ case Intrinsic::dbg_func_start:
+ case Intrinsic::dbg_region_end:
+ case Intrinsic::dbg_stoppoint:
return; // noop
case Intrinsic::memcpy_i32:
case Intrinsic::memcpy_i64:
@@ -1028,9 +1031,10 @@ void GraphBuilder::visitCallSite(CallSite CS) {
Warn = true;
break;
}
- if (Warn)
- std::cerr << "WARNING: Call to unknown external function '"
- << F->getName() << "' will cause pessimistic results!\n";
+ if (Warn) {
+ DEBUG(std::cerr << "WARNING: Call to unknown external function '"
+ << F->getName() << "' will cause pessimistic results!\n");
+ }
}
}