[all-commits] [llvm/llvm-project] 0cbf61: [mac/arm] Fix rtti codegen tests when running on a...

Nico Weber via All-commits all-commits at lists.llvm.org
Thu Dec 3 06:17:29 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0cbf61be8be546257854d1a2e5d6c675f5838a63
      https://github.com/llvm/llvm-project/commit/0cbf61be8be546257854d1a2e5d6c675f5838a63
  Author: Nico Weber <thakis at chromium.org>
  Date:   2020-12-03 (Thu, 03 Dec 2020)

  Changed paths:
    M clang/include/clang/Basic/TargetCXXABI.h
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/CodeGen/CodeGenModule.cpp
    M clang/lib/CodeGen/ItaniumCXXABI.cpp
    M clang/test/CodeGenCXX/weak-extern-typeinfo.cpp
    M clang/test/SemaCXX/typeid-ref.cpp

  Log Message:
  -----------
  [mac/arm] Fix rtti codegen tests when running on an arm mac

shouldRTTIBeUnique() returns false for iOS64CXXABI, which causes
RTTI objects to be emitted hidden. Update two tests that didn't
expect this to happen for the default triple.

Also rename iOS64CXXABI to AppleARM64CXXABI, since it's used for
arm64-apple-macos triples too.

Part of PR46644.

Differential Revision: https://reviews.llvm.org/D91904




More information about the All-commits mailing list