[PATCH] D82084: [DebugInfo] Refactored out `debug_line.dwo` emission from `DwarfTypeUnit` to `DwarfDebug`
Sourabh Singh Tomar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 18 05:24:31 PDT 2020
SouraVX created this revision.
SouraVX added reviewers: dblaikie, probinson, jini.susan.george.
SouraVX added projects: LLVM, debug-info.
Herald added subscribers: llvm-commits, hiraditya, aprantl.
Emission of `debug_line.dwo` was restricted by presence of
`DwarfTypeUnits` and the associated code was also hard-wired just
to satisfy this requirement.
This patch pulls out the emission code of `debug_line.dwo` from
`DwarfTypeUnits` to `DwarfDebug` so that, if required(for instance
`debug_macro.dwo` needs this), it can be leveraged easily.
This patch is based on @dblaikie feedback on D81476 <https://reviews.llvm.org/D81476>. Thanks for this!
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82084
Files:
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfDebug.h
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82084.271672.patch
Type: text/x-patch
Size: 5591 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200618/0048187e/attachment-0001.bin>
More information about the llvm-commits
mailing list