Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
backtrace.h
Go to the documentation of this file.
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
12namespace fml {
13
14// Retrieve the backtrace, for debugging.
15//
16// If the |offset| is 0, the backtrace is included caller function.
17std::string BacktraceHere(size_t offset = 0);
18
20
22
23} // namespace fml
24
25#endif // FLUTTER_FML_BACKTRACE_H_
std::string BacktraceHere(size_t offset)
Definition backtrace.cc:43
bool IsCrashHandlingSupported()
Definition backtrace.cc:140
void InstallCrashHandler()
Definition backtrace.cc:126
Point offset