diff options
author | Simon Hausmann <[email protected]> | 2013-10-17 10:45:58 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-10-17 11:36:32 +0200 |
commit | a443af35591224667fd681462b3446fad834a6ef (patch) | |
tree | d2c0b973dbecfb86706b9965cf5dac329664961a /src | |
parent | 4deb9338c595543580d2462dee889bcb7f7fc4d6 (diff) |
Implement WTFReportAssertionFailure
At least do a printf with the failure details, to make debugging easier.
Change-Id: I092d31e3408cd0a651c6dd96b5fd94adf4abe3a7
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/3rdparty/masm/stubs/WTFStubs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/3rdparty/masm/stubs/WTFStubs.cpp b/src/3rdparty/masm/stubs/WTFStubs.cpp index e299a54143..dff692fd67 100644 --- a/src/3rdparty/masm/stubs/WTFStubs.cpp +++ b/src/3rdparty/masm/stubs/WTFStubs.cpp @@ -109,8 +109,9 @@ void dataLogFString(const char* str) extern "C" { -void WTFReportAssertionFailure(const char* /*file*/, int /*line*/, const char* /*function*/, const char* /*assertion*/) +void WTFReportAssertionFailure(const char* file, int line, const char* function, const char*assertion) { + fprintf(stderr, "WTF failing assertion in %s, line %d, function %s: %s\n", file, line, function, assertion); } void WTFReportBacktrace() |