LLDB mainline
Symtab.cpp File Reference
#include <map>
#include <set>
#include "lldb/Core/DataFileCache.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/RichManglingContext.h"
#include "lldb/Core/Section.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Symbol/SymbolContext.h"
#include "lldb/Symbol/Symtab.h"
#include "lldb/Target/Language.h"
#include "lldb/Utility/DataEncoder.h"
#include "lldb/Utility/Endian.h"
#include "lldb/Utility/RegularExpression.h"
#include "lldb/Utility/Stream.h"
#include "lldb/Utility/Timer.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/DJB.h"

Go to the source code of this file.

Classes

struct  SymbolSortInfo
struct  SymbolSearchInfo

Functions

static int CompareSymbolID (const void *key, const void *p)
static bool lldb_skip_name (llvm::StringRef mangled, Mangled::ManglingScheme scheme)
static void AddSectionsToRangeMap (SectionList *sectlist, RangeVector< addr_t, addr_t > &section_ranges)
constexpr llvm::StringLiteral kIdentifierCStrMap ("CMAP")
static void EncodeCStrMap (DataEncoder &encoder, ConstStringTable &strtab, const UniqueCStringMap< uint32_t > &cstr_map)
bool DecodeCStrMap (const DataExtractor &data, lldb::offset_t *offset_ptr, const StringTableReader &strtab, UniqueCStringMap< uint32_t > &cstr_map)
constexpr llvm::StringLiteral kIdentifierSymbolTable ("SYMB")

Variables

constexpr uint32_t CURRENT_CACHE_VERSION = 1

Function Documentation

◆ AddSectionsToRangeMap()

◆ CompareSymbolID()

int CompareSymbolID ( const void * key,
const void * p )
static

Definition at line 209 of file Symtab.cpp.

Referenced by lldb_private::Symtab::FindSymbolByID().

◆ DecodeCStrMap()

◆ EncodeCStrMap()

◆ kIdentifierCStrMap()

llvm::StringLiteral kIdentifierCStrMap ( "CMAP" )
constexpr

Referenced by DecodeCStrMap(), and EncodeCStrMap().

◆ kIdentifierSymbolTable()

llvm::StringLiteral kIdentifierSymbolTable ( "SYMB" )
constexpr

◆ lldb_skip_name()

Variable Documentation

◆ CURRENT_CACHE_VERSION

uint32_t CURRENT_CACHE_VERSION = 1
constexpr

Definition at line 1243 of file Symtab.cpp.