LLDB
mainline
llvm-project
lldb
source
Host
common
PythonRuntimeLoaderInternal.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
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
9
#ifndef LLDB_SOURCE_HOST_COMMON_PYTHONRUNTIMELOADERINTERNAL_H
10
#define LLDB_SOURCE_HOST_COMMON_PYTHONRUNTIMELOADERINTERNAL_H
11
12
#include "llvm/ADT/STLFunctionalExtras.h"
13
14
namespace
lldb_private
{
15
16
/// Visits candidate Python runtime paths in priority order, stopping at
17
/// the first call that returns true. A callback (rather than a vector)
18
/// lets platforms defer expensive synthesis until cheaper candidates miss.
19
/// Paths are null-terminated for direct use with the dynamic loader API.
20
void
ForEachPythonRuntimeCandidate
(
21
llvm::function_ref<
bool
(
const
char
*)> callback);
22
23
}
// namespace lldb_private
24
25
#endif
// LLDB_SOURCE_HOST_COMMON_PYTHONRUNTIMELOADERINTERNAL_H
lldb_private
A class that represents a running process on the host machine.
Definition
SBAddressRange.h:14
lldb_private::ForEachPythonRuntimeCandidate
void ForEachPythonRuntimeCandidate(llvm::function_ref< bool(const char *)> callback)
Visits candidate Python runtime paths in priority order, stopping at the first call that returns true...
Generated on
for LLDB by
1.14.0