Changeset 48869 in webkit


Ignore:
Timestamp:
Sep 29, 2009 5:20:23 AM (15 years ago)
Author:
eric@webkit.org
Message:

2009-09-29 Janne Koskinen <janne.p.koskinen@digia.com>

Reviewed by Darin Adler.

[Qt] Symbian CRASH macro implementation

Added Symbian specific crash macro that
stops to crash line if JIT debugging is used.
Additional differentiation of access violation
(KERN-EXEC 3) and CRASH panic.

  • wtf/Assertions.h:
Location:
trunk/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r48860 r48869  
     12009-09-29  Janne Koskinen  <janne.p.koskinen@digia.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        [Qt] Symbian CRASH macro implementation
     6
     7        Added Symbian specific crash macro that
     8        stops to crash line if JIT debugging is used.
     9        Additional differentiation of access violation
     10        (KERN-EXEC 3) and CRASH panic.
     11
     12        * wtf/Assertions.h:
     13
    1142009-09-28  Mark Rowe  <mrowe@apple.com>
    215
  • trunk/JavaScriptCore/wtf/Assertions.h

    r48630 r48869  
    5151#endif
    5252
     53#if PLATFORM(SYMBIAN)
     54#include <e32def.h>
     55#include <e32debug.h>
     56#endif
     57
    5358#ifdef NDEBUG
    5459#define ASSERTIONS_DISABLED_DEFAULT 1
     
    121126
    122127#ifndef CRASH
     128#if PLATFORM(SYMBIAN)
     129#define CRASH() do { \
     130    __DEBUGGER(); \
     131    User::Panic(_L("Webkit CRASH"),0); \
     132    while(false)
     133#else
    123134#define CRASH() do { \
    124135    *(int *)(uintptr_t)0xbbadbeef = 0; \
    125136    ((void(*)())0)(); /* More reliable, but doesn't say BBADBEEF */ \
    126137} while(false)
     138#endif
    127139#endif
    128140
Note: See TracChangeset for help on using the changeset viewer.