https://github.com/AaronBallman closed
https://github.com/llvm/llvm-project/pull/137324
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
https://github.com/ahatanak approved this pull request.
https://github.com/llvm/llvm-project/pull/137324
___
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
@@ -211,6 +211,8 @@ Non-comprehensive list of changes in this release
- Added `__builtin_elementwise_exp10`.
- For AMDPGU targets, added `__builtin_v_cvt_off_f32_i4` that maps to the
`v_cvt_off_f32_i4` instruction.
- Added `__builtin_elementwise_minnum` and `__builtin_elementw
https://github.com/AaronBallman updated
https://github.com/llvm/llvm-project/pull/137324
>From 4a159b5245b023fe04e9f46549dee009aa155f42 Mon Sep 17 00:00:00 2001
From: Aaron Ballman
Date: Fri, 25 Apr 2025 08:49:35 -0400
Subject: [PATCH 1/2] Fix crash with -ast-dump=json
When given an invalid Ob
@@ -367,9 +367,11 @@ void MangleContext::mangleObjCMethodName(const
ObjCMethodDecl *MD,
}
OS << (MD->isInstanceMethod() ? '-' : '+') << '[';
if (const auto *CID = MD->getCategory()) {
-OS << CID->getClassInterface()->getName();
-if (includeCategoryNamespace) {
-
@@ -211,6 +211,8 @@ Non-comprehensive list of changes in this release
- Added `__builtin_elementwise_exp10`.
- For AMDPGU targets, added `__builtin_v_cvt_off_f32_i4` that maps to the
`v_cvt_off_f32_i4` instruction.
- Added `__builtin_elementwise_minnum` and `__builtin_elementw
@@ -367,9 +367,11 @@ void MangleContext::mangleObjCMethodName(const
ObjCMethodDecl *MD,
}
OS << (MD->isInstanceMethod() ? '-' : '+') << '[';
if (const auto *CID = MD->getCategory()) {
-OS << CID->getClassInterface()->getName();
-if (includeCategoryNamespace) {
-
https://github.com/AaronBallman created
https://github.com/llvm/llvm-project/pull/137324
When given an invalid Objective-C extension, Clang would crash when trying to
emit the mangled name of the method to the JSON dump output.
Fixes #137320
>From 4a159b5245b023fe04e9f46549dee009aa155f42 Mon
llvmbot wrote:
@llvm/pr-subscribers-clang
Author: Aaron Ballman (AaronBallman)
Changes
When given an invalid Objective-C extension, Clang would crash when trying to
emit the mangled name of the method to the JSON dump output.
Fixes #137320
---
Full diff: https://github.com/llvm/llvm-pro