[PATCH] D95622: Revert "[DWARF] Create subprogram's DIE in DISubprogram's unit"

Jeremy Morse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 13:16:59 PST 2021


jmorse added a comment.

Hi,

In D95622#2537549 <https://reviews.llvm.org/D95622#2537549>, @rupprecht wrote:

> While I'm reducing the source, the minimal flags to hit this seem to be `clang -g -mllvm -generate-type-units ...`

Ah, generate-type-units is the key, I generate a bunch of assertion failures on a stage2 RelWithDebInfo build and that flag:

  Unknown DIE kind
  UNREACHABLE executed at /fast/fs/llvm4/llvm/lib/CodeGen/AsmPrinter/DIE.cpp:347!

I'll start digging into that, thanks for the flags.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D95622



More information about the llvm-commits mailing list