Allow dangerous disabling of poison
authorjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jan 2018 05:40:40 +0000 (05:40 +0000)
committerjfbastien@apple.com <jfbastien@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 17 Jan 2018 05:40:40 +0000 (05:40 +0000)
commit3df9fb0ff49a2bf8aece33132d6327bc45d480c3
tree6690650ba9f3f91e570750713626f986a07c06aa
parent42d605bc0a62f30bc3a956eae1ef133149b223cc
Allow dangerous disabling of poison
https://bugs.webkit.org/show_bug.cgi?id=181685
<rdar://problem/36546265>

Reviewed by Keith Miller.

Some tools such as leak detectors and such like to look at real
pointers, and poisoned ones confuse them. Add a JSC option to
disable poisoning, but log to the console when this is done.

* runtime/JSCPoison.cpp:
(JSC::initializePoison):
* runtime/Options.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@227047 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/runtime/JSCPoison.cpp
Source/JavaScriptCore/runtime/Options.h