[PATCH] D119933: [demangler] Add support for C++20 modules

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 30 10:13:22 PDT 2022


MaskRay added a comment.

Seems that `abi::__cxa_demangle("W2.c", nullptr, nullptr, &ignored);` crashes on libcxxabi/src/demangle/ItaniumDemangle.h:355 `printLeft(OB);` (virtual function call).

At the call site `libcxxabi/src/cxa_demangle.cpp:358`, `Node *AST` is parsed as a type which does not seem to have the left child.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D119933



More information about the llvm-commits mailing list