Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6c9e4739f551bb70aa6988ee7ee25f87fca1d92d
https://github.com/WebKit/WebKit/commit/6c9e4739f551bb70aa6988ee7ee25f87fca1d92d
Author: Mark Lam <[email protected]>
Date: 2025-04-03 (Thu, 03 Apr 2025)
Changed paths:
M Source/WTF/wtf/Assertions.cpp
M Source/WTF/wtf/Assertions.h
Log Message:
-----------
Have ASSERTs fail using __builtin_trap on ASAN builds.
https://bugs.webkit.org/show_bug.cgi?id=290943
rdar://141134057
Reviewed by Keith Miller.
This allows for ASAN's handler to process the trap and provide debugging info.
Also, update the non-ASAN version of the inline WTFCrashWithInfo() to end with a
__builtin_unreachable() instead of __builtin_trap(). This makes it match the
behavior
of other instances of WTFCrashWithInfo() which take additional parameters.
* Source/WTF/wtf/Assertions.cpp:
* Source/WTF/wtf/Assertions.h:
(WTFCrashWithInfo):
Canonical link: https://commits.webkit.org/293158@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