Bug 242417

Summary: Insert break instructions in the LLInt asm to ensure that some global labels are not aliased.
Product: WebKit Reporter: Mark Lam <mark.lam>
Component: JavaScriptCoreAssignee: Mark Lam <mark.lam>
Status: RESOLVED FIXED    
Severity: Normal CC: ews-watchlist, keith_miller, msaboff, saam, tzagallo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
EWS testing. none

Mark Lam
Reported 2022-07-06 19:44:47 PDT
This is needed because the linker may not handle aliased global labels (multiple global labels pointing to the same location) well. To achieve this, we also remove the hacks in offlineasm's enterAsm and leaveAsm functions that use to add the _llintPCRangeStart and _llintPCRangeEnd labels. Instead, we'll add them explicitly in LowLevelInterpreter.asm. This allows us to easily append a break instruction after _llintPCRangeEnd.
Attachments
EWS testing. (3.31 KB, patch)
2022-07-06 19:48 PDT, Mark Lam
no flags
Mark Lam
Comment 1 2022-07-06 19:45:18 PDT
Mark Lam
Comment 2 2022-07-06 19:48:40 PDT
Created attachment 460728 [details] EWS testing.
Mark Lam
Comment 3 2022-07-06 20:44:58 PDT
EWS
Comment 4 2022-07-07 08:23:09 PDT
Committed 252214@main (98df1786d72c): <https://commits.webkit.org/252214@main> Reviewed commits have been landed. Closing PR #2149 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.