aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2020-12-03 09:11:03 -0500
committerNico Weber <thakis@chromium.org>2020-12-03 09:11:03 -0500
commit0cbf61be8be546257854d1a2e5d6c675f5838a63 (patch)
treec3df27811886181cf7747f1c3022a3ddc67c8752 /clang/lib/CodeGen/CodeGenModule.cpp
parentb2391d5f0da2a9122d337de6fa1a6aa9baad3fb4 (diff)
downloadllvm-0cbf61be8be546257854d1a2e5d6c675f5838a63.zip
llvm-0cbf61be8be546257854d1a2e5d6c675f5838a63.tar.gz
llvm-0cbf61be8be546257854d1a2e5d6c675f5838a63.tar.bz2
[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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
-rw-r--r--clang/lib/CodeGen/CodeGenModule.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CodeGenModule.cpp b/clang/lib/CodeGen/CodeGenModule.cpp
index 6d0228e..ce5fb94 100644
--- a/clang/lib/CodeGen/CodeGenModule.cpp
+++ b/clang/lib/CodeGen/CodeGenModule.cpp
@@ -76,11 +76,11 @@ static const char AnnotationSection[] = "llvm.metadata";
static CGCXXABI *createCXXABI(CodeGenModule &CGM) {
switch (CGM.getTarget().getCXXABI().getKind()) {
+ case TargetCXXABI::AppleARM64:
case TargetCXXABI::Fuchsia:
case TargetCXXABI::GenericAArch64:
case TargetCXXABI::GenericARM:
case TargetCXXABI::iOS:
- case TargetCXXABI::iOS64:
case TargetCXXABI::WatchOS:
case TargetCXXABI::GenericMIPS:
case TargetCXXABI::GenericItanium: