Skip to content

Conversation

@ahatanak
Copy link
Collaborator

No description provided.

@llvmbot llvmbot added clang Clang issues not falling into any other category backend:AArch64 clang:frontend Language frontend issues, e.g. anything involving "Sema" labels Oct 30, 2024
@llvmbot
Copy link
Member

llvmbot commented Oct 30, 2024

@llvm/pr-subscribers-backend-aarch64

@llvm/pr-subscribers-clang

Author: Akira Hatanaka (ahatanak)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/114241.diff

1 Files Affected:

  • (modified) clang/lib/Basic/Targets/AArch64.cpp (+1-1)
diff --git a/clang/lib/Basic/Targets/AArch64.cpp b/clang/lib/Basic/Targets/AArch64.cpp
index a0f94d5d315480..e9c1917ccbf060 100644
--- a/clang/lib/Basic/Targets/AArch64.cpp
+++ b/clang/lib/Basic/Targets/AArch64.cpp
@@ -1716,7 +1716,7 @@ void DarwinAArch64TargetInfo::getOSDefines(const LangOptions &Opts,
   if (Triple.isArm64e())
     Builder.defineMacro("__arm64e__", "1");
 
-  getDarwinDefines(Builder, Opts, Triple, PlatformName, PlatformMinVersion);
+  DarwinTargetInfo<AArch64leTargetInfo>::getOSDefines(Opts, Triple, Builder);
 }
 
 TargetInfo::BuiltinVaListKind

@JOE1994
Copy link
Member

JOE1994 commented Oct 30, 2024

What's the motivation for this change?

@ahatanak ahatanak changed the title [NFC} Call base class method in DarwinAArch64TargetInfo::getOSDefines [NFC] Call base class method in DarwinAArch64TargetInfo::getOSDefines Oct 30, 2024
@ahatanak
Copy link
Collaborator Author

This is needed for a private patch we'll be upstreaming in the future. Even without that, I think it's an improvement over what we are doing now.

@ahatanak ahatanak merged commit dafb90d into llvm:main Oct 31, 2024
8 checks passed
@ahatanak ahatanak deleted the call-base-method branch October 31, 2024 01:01
smallp-o-p pushed a commit to smallp-o-p/llvm-project that referenced this pull request Nov 3, 2024
…llvm#114241)

This is needed for a private patch we'll be upstreaming in the future.
NoumanAmir657 pushed a commit to NoumanAmir657/llvm-project that referenced this pull request Nov 4, 2024
…llvm#114241)

This is needed for a private patch we'll be upstreaming in the future.
ahatanaka pushed a commit to swiftlang/llvm-project that referenced this pull request Nov 7, 2024
…llvm#114241)

This is needed for a private patch we'll be upstreaming in the future.

rdar://138459863
ahatanaka pushed a commit to swiftlang/llvm-project that referenced this pull request Nov 7, 2024
…llvm#114241)

This is needed for a private patch we'll be upstreaming in the future.

rdar://138459863
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend:AArch64 clang:frontend Language frontend issues, e.g. anything involving "Sema" clang Clang issues not falling into any other category

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants