aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-10-17 10:45:58 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-17 11:36:32 +0200
commita443af35591224667fd681462b3446fad834a6ef (patch)
treed2c0b973dbecfb86706b9965cf5dac329664961a /src
parent4deb9338c595543580d2462dee889bcb7f7fc4d6 (diff)
Implement WTFReportAssertionFailure
At least do a printf with the failure details, to make debugging easier. Change-Id: I092d31e3408cd0a651c6dd96b5fd94adf4abe3a7 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/3rdparty/masm/stubs/WTFStubs.cpp3
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()