diff options
author | David Blaikie <dblaikie@gmail.com> | 2016-12-14 19:38:39 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2016-12-14 19:38:39 +0000 |
commit | b461468958b0e646020a3747907088a73d3340d9 (patch) | |
tree | a3bc801ddf2871d1c328f5b5034e3a3345ccb955 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | ca11a1e14769187a8111f3a4086221b657167656 (diff) | |
download | bcm5719-llvm-b461468958b0e646020a3747907088a73d3340d9.tar.gz bcm5719-llvm-b461468958b0e646020a3747907088a73d3340d9.zip |
DebugInfo: Improve type safety and simplify some subprogram finalization code
This probably ended up this way aften the subprogram<>function link
inversion and debug info metadata schema changes.
llvm-svn: 289697
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 51eca07404e..42503c7fe3e 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -216,7 +216,7 @@ class DwarfDebug : public DebugHandlerBase { /// This is a collection of subprogram MDNodes that are processed to /// create DIEs. - SmallPtrSet<const MDNode *, 16> ProcessedSPNodes; + SmallPtrSet<const DISubprogram *, 16> ProcessedSPNodes; /// If nonnull, stores the current machine function we're processing. const MachineFunction *CurFn; @@ -553,7 +553,7 @@ public: // FIXME: Sink these functions down into DwarfFile/Dwarf*Unit. - SmallPtrSet<const MDNode *, 16> &getProcessedSPNodes() { + SmallPtrSet<const DISubprogram *, 16> &getProcessedSPNodes() { return ProcessedSPNodes; } }; |