[PATCH] D95518: [Debug-Info][XCOFF] support dwarf for XCOFF in assembly path

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 02:23:43 PST 2021


shchenz added a comment.

Thanks for your comments @ikudrin and @hubert.reinterpretcast . I am still working on addressing your comments. I have posted D95931 <https://reviews.llvm.org/D95931> and D95932 <https://reviews.llvm.org/D95932>.

I still need at least two patches to avoid the streamer type check in general code:
1: in `lib/MC/MCDwarf.cpp`, maybe we should also use `emitDwarfUnitLength` for debug line length;
2: in `lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp`, like Igor suggested, we may need to use MCTargetStreamer, not very sure for now.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D95518/new/

https://reviews.llvm.org/D95518



More information about the llvm-commits mailing list