[PATCH] D98799: [UniqueLinkageName] Use consistent checks when mangling symbo linkage name and debug linkage name.

David Blaikie via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 15 14:30:16 PDT 2021


dblaikie added a comment.

In D98799#2820198 <https://reviews.llvm.org/D98799#2820198>, @ahatanak wrote:

> There are several files other than CGBlocks.cpp in which `FunctionDecl::Create` is called to create fake FunctionDecls. Do those places have to be fixed too?

This issue in this particular case was that the function that was created never had its parameter info properly initialized (so that this call succeeds: https://github.com/llvm-mirror/clang/blob/aa231e4be75ac4759c236b755c57876f76e3cf05/lib/AST/ItaniumMangle.cpp#L2908 ). Any examples we could sample/look at?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D98799



More information about the cfe-commits mailing list