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 
13 #include "lldb/Core/SearchFilter.h"
15 #include "lldb/lldb-defines.h"
16 
17 #include <cstdint>
18 
19 namespace lldb_private {
20 class Address;
21 class Stream;
22 class 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 
30 public:
32 
33  ~AddressResolverFileLine() override;
34 
36  SymbolContext &context,
37  Address *addr) override;
38 
39  lldb::SearchDepth GetDepth() override;
40 
41  void GetDescription(Stream *s) override;
42 
43 protected:
45 
46 private:
49  operator=(const AddressResolverFileLine &) = delete;
50 };
51 
52 } // namespace lldb_private
53 
54 #endif // LLDB_CORE_ADDRESSRESOLVERFILELINE_H
lldb_private::AddressResolverFileLine::operator=
const AddressResolverFileLine & operator=(const AddressResolverFileLine &)=delete
lldb::SearchDepth
SearchDepth
Definition: lldb-enumerations.h:283
lldb_private::SourceLocationSpec
Definition: SourceLocationSpec.h:27
lldb-defines.h
lldb_private::Stream
Definition: Stream.h:28
AddressResolver.h
lldb_private::SymbolContext
Definition: SymbolContext.h:33
lldb_private::AddressResolverFileLine::SearchCallback
Searcher::CallbackReturn SearchCallback(SearchFilter &filter, SymbolContext &context, Address *addr) override
Definition: AddressResolverFileLine.cpp:38
SourceLocationSpec.h
lldb_private::SearchFilter
General Outline: Provides the callback and search depth for the SearchFilter search.
Definition: SearchFilter.h:83
SearchFilter.h
lldb_private::AddressResolverFileLine::m_src_location_spec
SourceLocationSpec m_src_location_spec
Definition: AddressResolverFileLine.h:44
lldb_private::Searcher::CallbackReturn
CallbackReturn
Definition: SearchFilter.h:44
lldb_private::AddressResolverFileLine::GetDescription
void GetDescription(Stream *s) override
Prints a canonical description for the searcher to the stream s.
Definition: AddressResolverFileLine.cpp:75
lldb_private::AddressResolverFileLine::AddressResolverFileLine
AddressResolverFileLine(SourceLocationSpec location_spec)
Definition: AddressResolverFileLine.cpp:31
lldb_private::AddressResolverFileLine::GetDepth
lldb::SearchDepth GetDepth() override
Definition: AddressResolverFileLine.cpp:71
lldb_private::AddressResolver
General Outline: The AddressResolver is a Searcher.
Definition: AddressResolver.h:33
lldb_private::AddressResolverFileLine::~AddressResolverFileLine
~AddressResolverFileLine() override
lldb_private::Address
Definition: Address.h:59
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::AddressResolverFileLine
Definition: AddressResolverFileLine.h:29