summaryrefslogtreecommitdiff
path: root/core/os
diff options
context:
space:
mode:
authorHein-Pieter van Braam <hp@tmm.cx>2017-09-13 18:05:31 +0200
committerGitHub <noreply@github.com>2017-09-13 18:05:31 +0200
commitd6b392825fc3e22d9e0c62f0d17633c4224eb28f (patch)
tree5c9bc70e0a9ad094fb22398d9ba6e57bc09aba85 /core/os
parent322b0bee4967545383fba8a2c9b1253e2a2bbf43 (diff)
parent83fe9373621ab9f7e175a43868b2eda935107539 (diff)
Merge pull request #11061 from marcelofg55/dump_backtrace
Add a segfault handler to dump the backtrace on Windows, Linux and OS X
Diffstat (limited to 'core/os')
-rw-r--r--core/os/os.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/os/os.h b/core/os/os.h
index 258708eea2..c378d36a35 100644
--- a/core/os/os.h
+++ b/core/os/os.h
@@ -279,6 +279,9 @@ public:
bool is_stdout_verbose() const;
+ virtual void disable_crash_handler() {}
+ virtual bool is_disable_crash_handler() const { return false; }
+
enum CursorShape {
CURSOR_ARROW,
CURSOR_IBEAM,