diff options
author | Eric Christopher <echristo@gmail.com> | 2013-07-17 23:25:22 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2013-07-17 23:25:22 +0000 |
commit | 7ab2c3ecb22ca33bd68a69c0a1b4ac4826a7a0d8 (patch) | |
tree | 888525aca259c12120b0e75cf56b4984a8b7717f /llvm/lib/Transforms/Instrumentation/DebugIR.cpp | |
parent | a4e2dafd247f3cbbf5ea89457e6e2570705ff2e3 (diff) | |
download | bcm5719-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.cpp | 2 |
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)); |