blob: c478022599ec8f49e42c0f69525d031a9f6aa0a8 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SRC_DEVELOPER_DEBUG_UNWINDER_BENCHMARK_LIBUNWINDSTACK_H_
#define SRC_DEVELOPER_DEBUG_UNWINDER_BENCHMARK_LIBUNWINDSTACK_H_
#include "src/developer/debug/unwinder/benchmark/minidump_memory.h"
#include "src/developer/debug/unwinder/unwind.h"
namespace benchmark {
std::vector<unwinder::Frame> UnwindFromLibunwindstack(
const std::shared_ptr<MinidumpMemory>& memory,
std::vector<const crashpad::ModuleSnapshot*> modules, const crashpad::ThreadSnapshot* thread);
}
#endif // SRC_DEVELOPER_DEBUG_UNWINDER_BENCHMARK_LIBUNWINDSTACK_H_