[all-commits] [llvm/llvm-project] 7883b0: [ItaniumMangle] Add substitutions for record types...

tcwzxx via All-commits all-commits at lists.llvm.org
Sat Sep 28 20:43:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7883b028b42df7b763cae20d8ff56233bee4beb6
      https://github.com/llvm/llvm-project/commit/7883b028b42df7b763cae20d8ff56233bee4beb6
  Author: tcwzxx <tcwzxx at gmail.com>
  Date:   2024-09-29 (Sun, 29 Sep 2024)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/LangOptions.h
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    M clang/test/CodeGenCXX/mangle-subst.cpp

  Log Message:
  -----------
  [ItaniumMangle] Add substitutions for record types when mangling vtables (#109970)

Fix #108015 

The `mangleNameOrStandardSubstitution` function does not add the RD type
into the substitution, which causes the mangling of the \<base type\> to
be incorrect.
Rename `mangleNameOrStandardSubstitution` to `mangleCXXRecordDecl` and add `Record` as a substitution



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list