Bug 222646

Summary: [JSC] Temporary confusion in debug annotations when advancing llint instruction
Product: WebKit Reporter: Xan Lopez <xan.lopez>
Component: JavaScriptCoreAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: angelos, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Xan Lopez 2021-03-03 02:31:33 PST
At least on ARMv7 gdb seems to be temporarily confused about what to show when stepping through nextInstruction(). Something like:

(gdb) 
352	    addp advanceReg, PC
(gdb) 
334	    loadb [PB, PC, 1], t0
(gdb) 
1	# Copyright (C) 2011-2020 Apple Inc. All rights reserved.
(gdb) 
0xf625a814	1	# Copyright (C) 2011-2020 Apple Inc. All rights reserved.
(gdb) 
0xf625a816	1	# Copyright (C) 2011-2020 Apple Inc. All rights reserved.
(gdb) 
0xf625a818	1	# Copyright (C) 2011-2020 Apple Inc. All rights reserved.
(gdb) 
257	const BytecodePtrTag = constexpr BytecodePtrTag
(gdb) 
336	    jmp [t1, t0, PtrSize], BytecodePtrTag, AddressDiversified
(gdb) 


The code works fine, so this seems to be just a matter of showing the wrong thing to the user. Haven't tried this on other architectures.
Comment 1 Radar WebKit Bug Importer 2021-03-10 02:32:14 PST
<rdar://problem/75256922>