[PATCH] D94670: [DebugInfo][NFC] add a new DIE type to represent label + offset

ChenZheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 02:50:35 PST 2021


shchenz added a comment.

In D94670#2536034 <https://reviews.llvm.org/D94670#2536034>, @ikudrin wrote:

> It looks like my idea was not well-thought.
>
> What do you think about extending the `MCTargetStreamer` interface and implementing some `PPCTargetXCOFFAsmStreamer` so that it can intercept changing sections, emitting labels, and so on? It could customize printing labels at the beginning of debug sections. It could also suppress printing the length field; to simplify that you could move `emitDwarfUnitLength()` from `AsmPrinter` to `MCStreamer`.

Thanks for pointing out the direction. I will take a look.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94670



More information about the llvm-commits mailing list