[Webkit-unassigned] [Bug 114689] Print file-name, line and function name while calling CRASH()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 16 21:44:19 PDT 2013


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





--- Comment #5 from Arunprasad <ArunPrasadR at nds.com>  2013-04-16 21:42:35 PST ---
(In reply to comment #4)
> (From update of attachment 198385 [details])
> Please keep this in your branch.
> 
> Accidentally leaking filenames should not be a concern of engineers. We should not need this in release build.

Is it OK to pass __FILE__,__LINE__ to WTFInvokeCrashHook __without changing__ assertion behavior? So that we can register our own crash handler to print all these stuffs ?

typedef void (*WTFCrashHookFunction)(const char* file, int line, const char* function);
WTFInvokeCrashHook(__FILE__, __LINE__, WTF_PRETTY_FUNCTION)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list