[PATCH] D126340: [clang][AIX] add option -mdefault-visibility-export-mapping

Hans Wennborg via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 2 06:16:19 PDT 2022


hans added a comment.

We're hitting an assertion in Chromium due to this:

  llvm/clang/lib/AST/Decl.cpp:1510: clang::LinkageInfo clang::LinkageComputer::getLVForDecl(const clang::NamedDecl *, clang::LVComputationKind): Assertion `D->getCachedLinkage() == LV.getLinkage()' failed.

See https://bugs.chromium.org/p/chromium/issues/detail?id=1331274#c2 for a reproducer.

I've reverted this in d42fe9aa84203a8f51b43a901d72fdc39eea69f7 <https://reviews.llvm.org/rGd42fe9aa84203a8f51b43a901d72fdc39eea69f7> in the meantime.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D126340



More information about the cfe-commits mailing list