WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
236164
[libpas] allocation failure crash should be PAS_NEVER_INLINE
https://bugs.webkit.org/show_bug.cgi?id=236164
Summary
[libpas] allocation failure crash should be PAS_NEVER_INLINE
Yusuke Suzuki
Reported
2022-02-04 15:55:12 PST
[libpas] allocation failure crash should be NEVER_INLINED
Attachments
Patch
(1.67 KB, patch)
2022-02-04 15:56 PST
,
Yusuke Suzuki
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Patch
(3.14 KB, patch)
2022-02-04 16:17 PST
,
Yusuke Suzuki
saam
: review+
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Yusuke Suzuki
Comment 1
2022-02-04 15:56:23 PST
Created
attachment 450946
[details]
Patch
Yusuke Suzuki
Comment 2
2022-02-04 15:57:18 PST
Comment on
attachment 450946
[details]
Patch Oops, I'll a bit fix it.
Yusuke Suzuki
Comment 3
2022-02-04 16:17:24 PST
Created
attachment 450947
[details]
Patch
Saam Barati
Comment 4
2022-02-04 16:19:59 PST
Comment on
attachment 450947
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=450947&action=review
> Source/bmalloc/libpas/src/libpas/pas_utils.c:60 > + pas_panic("allocation did fail because of out-of-memory\n");
do we want to make sure this call gets inlined?
Yusuke Suzuki
Comment 5
2022-02-04 16:21:53 PST
Comment on
attachment 450947
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=450947&action=review
>> Source/bmalloc/libpas/src/libpas/pas_utils.c:60 >> + pas_panic("allocation did fail because of out-of-memory\n"); > > do we want to make sure this call gets inlined?
Discussed with Saam. I'll change it to __builtin_trap to make pas_panic_on_out_of_memory_error top signature.
Yusuke Suzuki
Comment 6
2022-02-04 16:50:17 PST
OK we ensured it is built, landing.
Yusuke Suzuki
Comment 7
2022-02-04 16:51:59 PST
Committed
r289144
(
246840@trunk
): <
https://commits.webkit.org/246840@trunk
>
Radar WebKit Bug Importer
Comment 8
2022-02-04 16:52:16 PST
<
rdar://problem/88514835
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug