c44db5fb09
https://bugs.webkit.org/show_bug.cgi?id=228931 Reviewed by Mark Lam. Source/JavaScriptCore: Right now current debugging code expects that the JS return PC on the stack is already unsigned. This is not true on arm64e. This patch now properly unsigns the return PC before passing it to the ReturnAddressPC constructor. * assembler/MacroAssemblerCodeRef.h: (JSC::ReturnAddressPtr::fromTaggedPC): * interpreter/AbstractPC.cpp: (JSC::AbstractPC::AbstractPC): * interpreter/AbstractPC.h: (JSC::AbstractPC::AbstractPC): (JSC::AbstractPC::jitReturnAddress const): * interpreter/CallFrame.h: (JSC::CallFrame::returnPC const): Source/WTF: Add a new helper to untag the return pc from a stack frame. * wtf/PtrTag.h: (WTF::untagReturnPC): Canonical link: https://commits.webkit.org/240399@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@280858 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
AbstractPC.cpp | ||
AbstractPC.h | ||
CLoopStack.cpp | ||
CLoopStack.h | ||
CLoopStackInlines.h | ||
CachedCall.h | ||
CallFrame.cpp | ||
CallFrame.h | ||
CallFrameClosure.h | ||
CallFrameInlines.h | ||
CalleeBits.h | ||
CheckpointOSRExitSideState.h | ||
EntryFrame.h | ||
FrameTracers.h | ||
Interpreter.cpp | ||
Interpreter.h | ||
InterpreterInlines.h | ||
ProtoCallFrame.h | ||
ProtoCallFrameInlines.h | ||
Register.h | ||
RegisterInlines.h | ||
ShadowChicken.cpp | ||
ShadowChicken.h | ||
ShadowChickenInlines.h | ||
StackVisitor.cpp | ||
StackVisitor.h | ||
VMEntryRecord.h |