aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/Trace.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-25 00:23:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-25 00:23:56 +0000
commit005975c04c5ffc4ee07107ad60dd7d465464e6f7 (patch)
treeddd10444ba5007e03041b28a149eed201f70090a /lib/Analysis/Trace.cpp
parent7cdd0cc18a1514e41d0743986bbfffeaf537a5cf (diff)
downloadexternal_llvm-005975c04c5ffc4ee07107ad60dd7d465464e6f7.zip
external_llvm-005975c04c5ffc4ee07107ad60dd7d465464e6f7.tar.gz
external_llvm-005975c04c5ffc4ee07107ad60dd7d465464e6f7.tar.bz2
More migration to raw_ostream, the water has dried up around the iostream hole.
- Some clients which used DOUT have moved to DEBUG. We are deprecating the "magic" DOUT behavior which avoided calling printing functions when the statement was disabled. In addition to being unnecessary magic, it had the downside of leaving code in -Asserts builds, and of hiding potentially unnecessary computations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77019 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/Trace.cpp')
-rw-r--r--lib/Analysis/Trace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/Trace.cpp b/lib/Analysis/Trace.cpp
index 8f19fda..31c7a19 100644
--- a/lib/Analysis/Trace.cpp
+++ b/lib/Analysis/Trace.cpp
@@ -33,7 +33,7 @@ Module *Trace::getModule() const {
///
void Trace::print(std::ostream &O) const {
Function *F = getFunction ();
- O << "; Trace from function " << F->getName() << ", blocks:\n";
+ O << "; Trace from function " << F->getNameStr() << ", blocks:\n";
for (const_iterator i = begin(), e = end(); i != e; ++i) {
O << "; ";
WriteAsOperand(O, *i, true, getModule());