[Bug 287803] clang internal error when building C++20 modules
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 25 Jun 2025 17:14:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287803
--- Comment #5 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/src/commit/?id=55dfaeae8e9aa95f0b724d90ad2423ca1b623142
commit 55dfaeae8e9aa95f0b724d90ad2423ca1b623142
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2025-06-25 17:12:02 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2025-06-25 17:12:02 +0000
contrib/llvm-project: fix clang crash compiling modules
clang++ may crash when compiling certain C++20 modules. Backport the
fix from LLVM upstream.
This fixes LLVM bug 102684:
https://github.com/llvm/llvm-project/issues/102684.
PR: 287803
MFC after: 3 days
Obtained from: https://github.com/llvm/llvm-project/pull/102855
Reviewed by: kevans, dim
Approved by: kevans (mentor)
Differential Revision: https://reviews.freebsd.org/D51041
.../include/clang/Frontend/MultiplexConsumer.h | 1 +
.../Serialization/ASTDeserializationListener.h | 2 +
.../clang/include/clang/Serialization/ASTReader.h | 3 +
.../clang/include/clang/Serialization/ASTWriter.h | 1 +
.../clang/lib/Frontend/MultiplexConsumer.cpp | 5 ++
.../clang/lib/Serialization/ASTReader.cpp | 91 +++++++++++++++++-----
.../clang/lib/Serialization/ASTWriter.cpp | 6 ++
7 files changed, 91 insertions(+), 18 deletions(-)
--
You are receiving this mail because:
You are the assignee for the bug.