WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
129679
[GTK] Build the Udis86 disassembler
https://bugs.webkit.org/show_bug.cgi?id=129679
Summary
[GTK] Build the Udis86 disassembler
Zan Dobersek
Reported
2014-03-04 04:42:39 PST
[GTK] Build the Udis86 disassembler
Attachments
Patch
(8.00 KB, patch)
2014-03-04 04:49 PST
,
Zan Dobersek
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Zan Dobersek
Comment 1
2014-03-04 04:49:03 PST
Created
attachment 225768
[details]
Patch
Martin Robinson
Comment 2
2014-03-04 08:29:44 PST
Comment on
attachment 225768
[details]
Patch The patch is missing CMake support, no?
Zan Dobersek
Comment 3
2014-03-04 12:06:25 PST
Comment on
attachment 225768
[details]
Patch Clearing flags on attachment: 225768 Committed
r165067
: <
http://trac.webkit.org/changeset/165067
>
Zan Dobersek
Comment 4
2014-03-04 12:06:37 PST
All reviewed patches have been landed. Closing bug.
Martin Robinson
Comment 5
2014-03-04 13:12:32 PST
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.
Zan Dobersek
Comment 6
2014-03-04 13:56:06 PST
(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.
Zan Dobersek
Comment 7
2014-03-04 14:08:57 PST
Actually it should be simple enough to keep the Udis86 building only for the CMake build. I'll conjure something up.
Martin Robinson
Comment 8
2014-03-04 14:56:54 PST
(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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug