[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 22:56:44 PDT 2013


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





--- Comment #6 from Benjamin Poulain <benjamin at webkit.org>  2013-04-16 22:55:01 PST ---
> 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)

I am not sure how that help(?), the filename is still gonna be in the binary.

-- 
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