RESOLVED FIXED 216966
[JSC] Introduce JSC_DECLARE_HOST_FUNCTION / JSC_DEFINE_HOST_FUNCTION to make host function definition easy-to-scanned for JIT-caging
https://bugs.webkit.org/show_bug.cgi?id=216966
Summary [JSC] Introduce JSC_DECLARE_HOST_FUNCTION / JSC_DEFINE_HOST_FUNCTION to make ...
Yusuke Suzuki
Reported 2020-09-25 01:20:39 PDT
[JSC] Introduce JSC_DECLARE_HOST_FUNCTION / JSC_DEFINE_HOST_FUNCTION to make host function definition easy-to-scanned for JIT-caging
Attachments
Patch (1.70 MB, patch)
2020-09-25 01:26 PDT, Yusuke Suzuki
ews-feeder: commit-queue-
Patch (1.70 MB, patch)
2020-09-25 01:38 PDT, Yusuke Suzuki
no flags
Patch (1.78 MB, patch)
2020-09-25 01:47 PDT, Yusuke Suzuki
saam: review+
ews-feeder: commit-queue-
Patch (1.78 MB, patch)
2020-09-25 12:22 PDT, Yusuke Suzuki
no flags
Yusuke Suzuki
Comment 1 2020-09-25 01:26:39 PDT
Yusuke Suzuki
Comment 2 2020-09-25 01:38:14 PDT
Yusuke Suzuki
Comment 3 2020-09-25 01:47:43 PDT
Saam Barati
Comment 4 2020-09-25 06:24:44 PDT
Comment on attachment 409668 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409668&action=review > Source/WTF/wtf/PlatformCallingConventions.h:49 > +#define JSC_ANNOTATE_HOST_FUNCTION(functionId, function) This will do something in the future?
Yusuke Suzuki
Comment 5 2020-09-25 12:21:31 PDT
(In reply to Saam Barati from comment #4) > Comment on attachment 409668 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=409668&action=review > > > Source/WTF/wtf/PlatformCallingConventions.h:49 > > +#define JSC_ANNOTATE_HOST_FUNCTION(functionId, function) > > This will do something in the future? Yes
Yusuke Suzuki
Comment 6 2020-09-25 12:22:27 PDT
Yusuke Suzuki
Comment 7 2020-09-25 14:23:54 PDT
stress/put-private-name-invalid-define.js.ftl-eager is flaky before this patch. Landing this now.
Yusuke Suzuki
Comment 8 2020-09-25 14:32:32 PDT
Radar WebKit Bug Importer
Comment 9 2020-09-25 14:33:22 PDT
Alexey Shvayka
Comment 10 2020-09-26 14:52:19 PDT
Comment on attachment 409719 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=409719&action=review > Source/JavaScriptCore/ChangeLog:199 It would be nice to tweak ChangeLog generation tool so the host function names are displayed correctly.
Note You need to log in before you can comment on or make changes to this bug.