Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 771744e5b7906438f8f7864a59ffb6543f3aeaef
https://github.com/WebKit/WebKit/commit/771744e5b7906438f8f7864a59ffb6543f3aeaef
Author: Daniel Liu <[email protected]>
Date: 2025-10-20 (Mon, 20 Oct 2025)
Changed paths:
A Source/JavaScriptCore/API/MARReportCrashPrivate.cpp
A Source/JavaScriptCore/API/MARReportCrashPrivate.h
M Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj
M Source/JavaScriptCore/JavaScriptCore_Private.modulemap
M Source/JavaScriptCore/SourcesCocoa.txt
M Source/bmalloc/CMakeLists.txt
M Source/bmalloc/bmalloc.xcodeproj/project.pbxproj
M Source/bmalloc/libpas/libpas.xcodeproj/project.pbxproj
M Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h
M Source/bmalloc/libpas/src/libpas/pas_heap.c
A Source/bmalloc/libpas/src/libpas/pas_mar_crash_reporter_report.h
A Source/bmalloc/libpas/src/libpas/pas_mar_registry.c
A Source/bmalloc/libpas/src/libpas/pas_mar_registry.h
A Source/bmalloc/libpas/src/libpas/pas_mar_report_crash.c
A Source/bmalloc/libpas/src/libpas/pas_mar_report_crash.h
A Source/bmalloc/libpas/src/test/MARTests.cpp
M Source/bmalloc/libpas/src/test/TestHarness.cpp
Log Message:
-----------
Add PGM-style allocation stack logging for bmalloc allocations
https://bugs.webkit.org/show_bug.cgi?id=299621
rdar://153737681
Reviewed by Yusuke Suzuki.
As another useful diagnostic tool, we want to add in allocation stack logging
for
bmalloc's allocations. Memory Allocation Records (MAR) track metadata about
where
allocations were made, enabling the analysis of these records if we crash. We
aim
to utilize this to help debug bugs involving misuse of allocated memory, likely
a
crash caught by features such as MIE. MAR ensures that the memory access
patterns
are not disrupted, but we are still able to log some metadata to diagnose bugs
at
crash time.
This patch was previously landed, but caused internal builds to fail. The
updated
patch here fixes some module-related issues, which should fix these build
issues.
Canonical link: https://commits.webkit.org/301840@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes