diff options
| author | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-13 17:38:22 +0000 | 
|---|---|---|
| committer | Andrew Lenharth <andrewl@lenharth.org> | 2006-10-13 17:38:22 +0000 | 
| commit | 966645e6b440e596a390c22d6a809961c6b57a3a (patch) | |
| tree | b37307db2828c43ce2be38a87802c2a482b84a7b /llvm/lib/Analysis/DataStructure/Local.cpp | |
| parent | 5ab3166f74d41cfb4583ef38156425fab4e3af76 (diff) | |
| download | bcm5719-llvm-966645e6b440e596a390c22d6a809961c6b57a3a.tar.gz bcm5719-llvm-966645e6b440e596a390c22d6a809961c6b57a3a.zip | |
Move some warnings to debug mode.
llvm-svn: 30933
Diffstat (limited to 'llvm/lib/Analysis/DataStructure/Local.cpp')
| -rw-r--r-- | llvm/lib/Analysis/DataStructure/Local.cpp | 10 | 
1 files changed, 7 insertions, 3 deletions
| diff --git a/llvm/lib/Analysis/DataStructure/Local.cpp b/llvm/lib/Analysis/DataStructure/Local.cpp index c70970ac31d..dbfbea3981d 100644 --- a/llvm/lib/Analysis/DataStructure/Local.cpp +++ b/llvm/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"); +          }          }        } | 

