[PATCH] D114705: [DwarfDebug] Move emission of global vars, types and imports to endModule()

David Blaikie via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 29 13:25:52 PST 2021


dblaikie added a comment.

> (1) DwarfDebug::beginModule() is run at the very beginning of backend's pipeline, from this time IR can be significantly changed by target-specific passes, and debug info never accounts for these changes (for example, address space lowering done by generic-to-nvvm for NVPTX backend).

Could you point to/provide inline comments on any tests that demonstrate this difference?

Are all the other tests just shifting things around/not changing the content?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D114705



More information about the llvm-commits mailing list