Summary: | [GTK] Build the Udis86 disassembler | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Zan Dobersek <zan> | ||||
Component: | New Bugs | Assignee: | Zan Dobersek <zan> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | benjamin, berto, bunhere, cmarcelo, commit-queue, gustavo, gyuyoung.kim, mrobinson, rakuco, sergio | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Zan Dobersek
2014-03-04 04:42:39 PST
Created attachment 225768 [details]
Patch
Comment on attachment 225768 [details]
Patch
The patch is missing CMake support, no?
Comment on attachment 225768 [details] Patch Clearing flags on attachment: 225768 Committed r165067: <http://trac.webkit.org/changeset/165067> All reviewed patches have been landed. Closing bug. Oh sorry. I see the cmake changes now. I think this really needs a bit more discussion among GTK+ port maintainers though. Is the Udis86 disassembler feature considered stable and mandatory. This patch enables it for releases, which is kid of risky. (In reply to comment #5) > Oh sorry. I see the cmake changes now. I think this really needs a bit more discussion among GTK+ port maintainers though. Is the Udis86 disassembler feature considered stable and mandatory. This patch enables it for releases, which is kid of risky. I missed your comment, but the CMake parts were there. The disassembler doesn't reach deep into JSC and only dumps when using the JSC showDisassembly option (which is present and usable to a point in release builds) but I agree it's probably not useful in release builds. With CMake the disassembler can be configured to build by simply using -DWTF_USE_UDIS86 in the cmake command. With autotools this could possibly be switchable with a configuration flag or something similar. If we're throwing autotools support out soon enough this is pretty simple to resolve, otherwise I'll look into enhancing autotools. Actually it should be simple enough to keep the Udis86 building only for the CMake build. I'll conjure something up. (In reply to comment #6) > The disassembler doesn't reach deep into JSC and only dumps when using the JSC showDisassembly option (which is present and usable to a point in release builds) but I agree it's probably not useful in release builds. Thanks! That actually clears it up for me. From what you are saying, if I understand it correctly, the best course of action is to just disable it when building in production mode for CMake. I can handle that or, if you like, you can write another patch that just does this based on whether production mode is enabled in OptionsGTK.cmake. |