Bug 133759 - Add LLVM FastISel abort option for coverage testing
Summary: Add LLVM FastISel abort option for coverage testing
Status: RESOLVED WONTFIX
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-11 13:14 PDT by Juergen Ributzka
Modified: 2014-11-11 13:19 PST (History)
0 users

See Also:


Attachments
Patch (4.14 KB, patch)
2014-06-11 13:21 PDT, Juergen Ributzka
no flags Details | Formatted Diff | Diff
Patch (4.08 KB, patch)
2014-06-12 16:44 PDT, Juergen Ributzka
no flags Details | Formatted Diff | Diff
Patch (4.12 KB, patch)
2014-06-18 10:04 PDT, Juergen Ributzka
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Ributzka 2014-06-11 13:14:03 PDT
Add LLVM FastISel abort option for coverage testing
Comment 1 Juergen Ributzka 2014-06-11 13:21:37 PDT
Created attachment 232894 [details]
Patch
Comment 2 Filip Pizlo 2014-06-12 16:36:48 PDT
Comment on attachment 232894 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=232894&action=review

> Source/JavaScriptCore/llvm/InitializeLLVMPOSIX.cpp:38
> +typedef LLVMAPI* (*InitializerFunction)(void (*)(const char*, ...), bool FastISelAbort);

Call it fastISelAbort

> Source/JavaScriptCore/llvm/library/LLVMExports.cpp:63
> +extern "C" JSC::LLVMAPI* initializeAndGetJSCLLVMAPI(void (*callback)(const char*, ...), bool FastISelAbort)

Our naming convention would have this variable start with lower case: fastISelAbort.
Comment 3 Juergen Ributzka 2014-06-12 16:44:06 PDT
Created attachment 233007 [details]
Patch
Comment 4 Geoffrey Garen 2014-06-16 11:44:42 PDT
Comment on attachment 233007 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=233007&action=review

> Source/JavaScriptCore/llvm/library/LLVMExports.cpp:99
> +    unsigned numArgs = sizeof(args) / sizeof(const char *) - (fastISelAbort ? 0 : 2);

"char *" => "char*" in WebKit style.
Comment 5 Juergen Ributzka 2014-06-18 10:04:26 PDT
Created attachment 233312 [details]
Patch
Comment 6 Juergen Ributzka 2014-06-18 10:06:05 PDT
Thanks Filip and Geoff. I am still not fully accustomed to the webkit coding style.
Comment 7 Juergen Ributzka 2014-11-11 13:02:47 PST
Abandon patch - it is obsolete.