diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-17 23:53:25 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-17 23:53:25 +0000 |
commit | 0e8d401c5332e8e8f1edb91f722a3c6b5476bde2 (patch) | |
tree | 784d1cf38f530c5a6cbd27e59f4d68b75f1b5267 /llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | |
parent | 1373630bc4a650e9362faef01feb91bc898452a6 (diff) | |
download | bcm5719-llvm-0e8d401c5332e8e8f1edb91f722a3c6b5476bde2.tar.gz bcm5719-llvm-0e8d401c5332e8e8f1edb91f722a3c6b5476bde2.zip |
DebugInfo: Move getOrCreateSourceID from DwarfDebug to DwarfCompileUnit
We still do a few lookups into the line table mapping in MCContext that
could be factored out into a single lookup (rather than looking it up
once for the table label, once to set the compilation unit, once for
each time we need a file ID, etc... ) but assembly output complicates
that somewhat as we still need a virtual dispatch back to the
MCAsmStreamer in that case.
llvm-svn: 204092
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h index 3ab537037d9..7f4ed6e290a 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h +++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h @@ -737,12 +737,6 @@ public: SymSize[Sym] = Size; } - /// \brief Look up the source id with the given directory and source file - /// names. If none currently exists, create a new id and insert it in the - /// SourceIds map. - unsigned getOrCreateSourceID(StringRef DirName, StringRef FullName, - unsigned CUID); - /// \brief Recursively Emits a debug information entry. void emitDIE(DIE *Die); |