Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0ced454cee731ac4e04481759c8720bf9dbed165
      
https://github.com/WebKit/WebKit/commit/0ced454cee731ac4e04481759c8720bf9dbed165
  Author: Ian Grunert <ian.grun...@gmail.com>
  Date:   2024-06-25 (Tue, 25 Jun 2024)

  Changed paths:
    M Source/JavaScriptCore/interpreter/CallFrame.h
    M Source/WTF/wtf/PlatformUse.h

  Log Message:
  -----------
  Enable BUILTIN_FRAME_ADDRESS using _AddressOfReturnAddress()
https://bugs.webkit.org/show_bug.cgi?id=275567

Reviewed by Justin Michaud.

Use _AddressOfReturnAddress(), as the __builtin_frame_address(0) returns
a location after local variables and saved nonvolatile registers on
Windows (see https://learn.microsoft.com/en-us/cpp/build/stack-usage).
We explicitly clobber the frame pointer, otherwise it's not always saved
like it is on other platforms.

* Source/JavaScriptCore/interpreter/CallFrame.h:
* Source/WTF/wtf/PlatformUse.h:

Canonical link: https://commits.webkit.org/280335@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to