aboutsummaryrefslogtreecommitdiff
path: root/src/client/mac/tests/testlogging.h
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-09-23 14:55:50 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2010-09-23 14:55:50 +0000
commit4621ee06914b2ebe963c93ea78fabf982cf670df (patch)
treead6c7f5b0898ca5879e340fdf99772d4936e6403 /src/client/mac/tests/testlogging.h
parentAdded the base exploitability module for windows. This only adds the very bas... (diff)
downloadbreakpad-4621ee06914b2ebe963c93ea78fabf982cf670df.tar.xz
Write a window of memory around the instruction pointer from the crashing thread to the minidump on OS X.
R=nealsid at http://breakpad.appspot.com/200001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@699 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/mac/tests/testlogging.h')
-rw-r--r--src/client/mac/tests/testlogging.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/client/mac/tests/testlogging.h b/src/client/mac/tests/testlogging.h
new file mode 100644
index 00000000..c6b6be69
--- /dev/null
+++ b/src/client/mac/tests/testlogging.h
@@ -0,0 +1,9 @@
+// This file exists to override the processor logging for unit tests,
+// since it confuses XCode into thinking unit tests have failed.
+#include <sstream>
+
+namespace google_breakpad {
+extern std::ostringstream info_log;
+}
+
+#define BPLOG_INFO_STREAM google_breakpad::info_log