summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-07-17 23:25:22 +0000
committerEric Christopher <echristo@gmail.com>2013-07-17 23:25:22 +0000
commit7ab2c3ecb22ca33bd68a69c0a1b4ac4826a7a0d8 (patch)
tree888525aca259c12120b0e75cf56b4984a8b7717f /llvm/lib/Transforms/Instrumentation/DebugIR.cpp
parenta4e2dafd247f3cbbf5ea89457e6e2570705ff2e3 (diff)
downloadbcm5719-llvm-7ab2c3ecb22ca33bd68a69c0a1b4ac4826a7a0d8.tar.gz
bcm5719-llvm-7ab2c3ecb22ca33bd68a69c0a1b4ac4826a7a0d8.zip
Add comparison operators for DIDescriptors to fix c++98 fallout
of operator bool change. Also convert a variable in DebugIR. llvm-svn: 186544
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/DebugIR.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/DebugIR.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
index b5bdc7560b6..cea19e6510d 100644
--- a/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
+++ b/llvm/lib/Transforms/Instrumentation/DebugIR.cpp
@@ -220,7 +220,7 @@ public:
DICompileUnit(CUNode), F.getName(), MangledName, DIFile(FileNode), Line,
Sig, Local, IsDefinition, ScopeLine, FuncFlags, IsOptimized, &F);
assert(Sub.isSubprogram());
- DEBUG(dbgs() << "create subprogram mdnode " << Sub << ": "
+ DEBUG(dbgs() << "create subprogram mdnode " << *Sub << ": "
<< "\n");
SubprogramDescriptors.insert(std::make_pair(&F, Sub));
OpenPOWER on IntegriCloud