[Webkit-unassigned] [Bug 185507] [GTK] disable gigacage under valgrind

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu May 10 02:01:47 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=185507

Adrian Perez <aperez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |aperez at igalia.com

--- Comment #1 from Adrian Perez <aperez at igalia.com> ---
The easy way to go about this would be detecting whether <valgrind.h>
is available, and use the “RUNNING_ON_VALGRIND” macro defined by it:

  http://valgrind.org/docs/manual/manual-core-adv.html#manual-core-adv.clientreq

Note that it expands to inline assembler in the architectures supported
by Valgrind, so it would be a build-time dependency only. It would be
nicer to not need Valgrind for building, but other alternative I see
around is checking “/proc/self/smaps” and grep for the name of the
Valgrind shared library which gets LD_PRELOAD'ed and that looks flimsy
to me.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180510/7ec1ee14/attachment.html>


More information about the webkit-unassigned mailing list