| Summary: | [libpas] allocation failure crash should be PAS_NEVER_INLINE | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> | ||||||
| Component: | New Bugs | Assignee: | Yusuke Suzuki <ysuzuki> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | saam, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Attachments: |
|
||||||||
|
Description
Yusuke Suzuki
2022-02-04 15:55:12 PST
Created attachment 450946 [details]
Patch
Comment on attachment 450946 [details]
Patch
Oops, I'll a bit fix it.
Created attachment 450947 [details]
Patch
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? 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. OK we ensured it is built, landing. Committed r289144 (246840@trunk): <https://commits.webkit.org/246840@trunk> |