1 | // Copyright 2013 The Flutter Authors. All rights reserved. |
2 | // Use of this source code is governed by a BSD-style license that can be |
3 | // found in the LICENSE file. |
4 | |
5 | #ifndef FLUTTER_FML_BACKTRACE_H_ |
6 | #define FLUTTER_FML_BACKTRACE_H_ |
7 | |
8 | #include <string> |
9 | |
10 | #include "flutter/fml/macros.h" |
11 | |
12 | namespace fml { |
13 | |
14 | std::string BacktraceHere(size_t offset = 0); |
15 | |
16 | void InstallCrashHandler(); |
17 | |
18 | bool IsCrashHandlingSupported(); |
19 | |
20 | } // namespace fml |
21 | |
22 | #endif // FLUTTER_FML_BACKTRACE_H_ |
23 | |