[PATCH] D144006: [DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7)

Vladislav Dzhidzhoev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 13 06:11:34 PDT 2023


dzhidzhoev added a comment.

In D144006#4651955 <https://reviews.llvm.org/D144006#4651955>, @hans wrote:

> We're hitting an assert after this change:
>
>   llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:2331:
>   virtual void llvm::DwarfDebug::endFunctionImpl(const llvm::MachineFunction *):
>   Assertion `LScopes.getAbstractScopesList().size() == NumAbstractSubprograms &&
>   "getOrCreateAbstractScope() inserted an abstract subprogram scope"' failed.
>
> See https://bugs.chromium.org/p/chromium/issues/detail?id=1487910#c3 for a reproducer.
>
> I'll revert until it can be investigated/fixed.

Thank you! Added a fix for that https://github.com/llvm/llvm-project/pull/68986.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D144006



More information about the cfe-commits mailing list