[clang] ObjcRuntime.h: Add mips64, aarch64, and riscv64 to non-legacy dispatch (PR #76694)
Hugo Melder via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 2 01:32:48 PST 2024
================
@@ -101,10 +101,17 @@ class ObjCRuntime {
// The GNUstep runtime uses a newer dispatch method by default from
// version 1.6 onwards
if (getKind() == GNUstep && getVersion() >= VersionTuple(1, 6)) {
- if (Arch == llvm::Triple::arm ||
- Arch == llvm::Triple::x86 ||
- Arch == llvm::Triple::x86_64)
+ switch (Arch) {
----------------
hmelder wrote:
I can do the version check properly and update the libobjc2 README to properly document this. I probably need to rewrite the detection in gnustep-make too -_-
https://github.com/llvm/llvm-project/pull/76694
More information about the cfe-commits
mailing list