LLDB mainline
AddressResolverFileLine.h
Go to the documentation of this file.
1//===-- AddressResolverFileLine.h -------------------------------*- C++ -*-===//
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_CORE_ADDRESSRESOLVERFILELINE_H
10#define LLDB_CORE_ADDRESSRESOLVERFILELINE_H
11
15#include "lldb/lldb-defines.h"
16
17#include <cstdint>
18
19namespace lldb_private {
20class Address;
21class Stream;
22class SymbolContext;
23
24/// \class AddressResolverFileLine AddressResolverFileLine.h
25/// "lldb/Core/AddressResolverFileLine.h" This class finds address for source
26/// file and line. Optionally, it will look for inlined instances of the file
27/// and line specification.
28
30public:
32
34
36 SymbolContext &context,
37 Address *addr) override;
38
39 lldb::SearchDepth GetDepth() override;
40
41 void GetDescription(Stream *s) override;
42
43protected:
45
46private:
50};
51
52} // namespace lldb_private
53
54#endif // LLDB_CORE_ADDRESSRESOLVERFILELINE_H
"lldb/Core/AddressResolverFileLine.h" This class finds address for source file and line.
const AddressResolverFileLine & operator=(const AddressResolverFileLine &)=delete
Searcher::CallbackReturn SearchCallback(SearchFilter &filter, SymbolContext &context, Address *addr) override
AddressResolverFileLine(const AddressResolverFileLine &)=delete
void GetDescription(Stream *s) override
Prints a canonical description for the searcher to the stream s.
General Outline: The AddressResolver is a Searcher.
A section + offset based address class.
Definition: Address.h:62
General Outline: Provides the callback and search depth for the SearchFilter search.
Definition: SearchFilter.h:83
"lldb/Core/SourceLocationSpec.h" A source location specifier class.
A stream class that can stream formatted output to a file.
Definition: Stream.h:28
Defines a symbol context baton that can be handed other debug core functions.
Definition: SymbolContext.h:34
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14