LLDB mainline
UnwindAssembly.cpp
Go to the documentation of this file.
1//===-- UnwindAssembly.cpp ------------------------------------------------===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
12#include "lldb/lldb-private.h"
13
14using namespace lldb;
15using namespace lldb_private;
16
18 for (auto create_callback :
20 UnwindAssemblySP assembly_profiler_up(create_callback(arch));
21 if (assembly_profiler_up)
22 return assembly_profiler_up;
23 }
24 return nullptr;
25}
26
An architecture specification class.
Definition ArchSpec.h:32
static llvm::SmallVector< UnwindAssemblyCreateInstance > GetUnwindAssemblyCreateCallbacks()
UnwindAssembly(const ArchSpec &arch)
static lldb::UnwindAssemblySP FindPlugin(const ArchSpec &arch)
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::UnwindAssembly > UnwindAssemblySP