diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-16 01:01:28 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2015-04-16 01:01:28 +0000 |
commit | b105564015292c933c6e0dab6bb027ed9c1580a5 (patch) | |
tree | 9e6debd9480cf75e2b8f818ed35f501e272c942d /llvm/tools/opt/BreakpointPrinter.cpp | |
parent | 4caa7f2a9c9a54ad37960218c49fc853df01434c (diff) | |
download | bcm5719-llvm-b105564015292c933c6e0dab6bb027ed9c1580a5.tar.gz bcm5719-llvm-b105564015292c933c6e0dab6bb027ed9c1580a5.zip |
DebugInfo: Gut DIType and subclasses
Continuing PR23080, gut `DIType` and its various subclasses, leaving
behind thin wrappers around the pointer types in the new debug info
hierarchy.
llvm-svn: 235064
Diffstat (limited to 'llvm/tools/opt/BreakpointPrinter.cpp')
-rw-r--r-- | llvm/tools/opt/BreakpointPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/opt/BreakpointPrinter.cpp b/llvm/tools/opt/BreakpointPrinter.cpp index 8031d56a826..8f390a10e3b 100644 --- a/llvm/tools/opt/BreakpointPrinter.cpp +++ b/llvm/tools/opt/BreakpointPrinter.cpp @@ -36,9 +36,9 @@ struct BreakpointPrinter : public ModulePass { N = N + NS->getName().str() + "::"; } } else if (DIType TY = dyn_cast<MDType>(Context)) { - if (!TY.getName().empty()) { - getContextName(TY.getContext().resolve(TypeIdentifierMap), N); - N = N + TY.getName().str() + "::"; + if (!TY->getName().empty()) { + getContextName(TY->getScope().resolve(TypeIdentifierMap), N); + N = N + TY->getName().str() + "::"; } } } |