[all-commits] [llvm/llvm-project] 49a7f3: [CAS] Fix assertion failure when opening CAS with ...
Steven Wu via All-commits
all-commits at lists.llvm.org
Fri Apr 17 08:30:41 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 49a7f37154df354167ed3420cbee00a305e0316f
https://github.com/llvm/llvm-project/commit/49a7f37154df354167ed3420cbee00a305e0316f
Author: Steven Wu <stevenwu at apple.com>
Date: 2026-04-17 (Fri, 17 Apr 2026)
Changed paths:
M llvm/lib/CAS/MappedFileRegionArena.cpp
A llvm/test/tools/llvm-cas/mapping-size-too-small.test
Log Message:
-----------
[CAS] Fix assertion failure when opening CAS with smaller mapping size (#192565)
When opening an existing large CAS using a smaller requested mapping
size, the file size can be smaller than capacity while holding only a
shared lock. Replace the assertion with a graceful lock upgrade to
exclusive before resizing the file.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list