[PATCH] D94668: [debug-info] [NFC] add is-a(isa<>) support for MCStreamer

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 10 02:22:02 PST 2021


ikudrin added a comment.

In D94668#2553464 <https://reviews.llvm.org/D94668#2553464>, @shchenz wrote:

> Do you have any idea about how to do this? @ikudrin  My requirement here is: I need to add the `endSymbol` for asm streamer at the end of .text section to indicate the end of the text section.
> Object streamer can easily do this by calling `MCSymbol *endSection(Section)` in `emitDwarfLineTable`, but this does not work for asm streamer. When we are generating assembly output for .debug_line section, we can not go back to .text section and emit an end symbol there. I think this is not supported.

Does that mean that `endSection()` does not work for your target? In that case, you need to fix it first, no?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D94668



More information about the llvm-commits mailing list