Classes | Namespaces | Functions
dwarf.cc File Reference
#include <assert.h>
#include <stdio.h>
#include <algorithm>
#include <initializer_list>
#include <iostream>
#include <limits>
#include <memory>
#include <stack>
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include "absl/base/attributes.h"
#include "absl/base/macros.h"
#include "absl/strings/string_view.h"
#include "absl/strings/substitute.h"
#include "absl/types/optional.h"
#include "bloaty.h"
#include "bloaty.pb.h"
#include "dwarf_constants.h"
#include "util.h"
#include "dwarf/attr.h"
#include "dwarf/dwarf_util.h"
#include "dwarf/line_info.h"
Include dependency graph for dwarf.cc:

Go to the source code of this file.

Classes

class  bloaty::dwarf::AddressRanges
 
struct  bloaty::GeneralDIE
 
class  bloaty::dwarf::LocationList
 

Namespaces

 bloaty
 
 bloaty::dwarf
 

Functions

void bloaty::AddDIE (const dwarf::CU &cu, const GeneralDIE &die, const DualMap &symbol_map, RangeSink *sink)
 
string_view bloaty::dwarf::GetLocationListRange (CompilationUnitSizes sizes, string_view available)
 
static std::string bloaty::LineInfoKey (const std::string &file, uint32_t line, bool include_line)
 
static bool bloaty::ReadDWARFAddressRanges (const dwarf::File &file, RangeSink *sink)
 
void bloaty::ReadDWARFCompileUnits (const dwarf::File &file, const DualMap &map, RangeSink *sink)
 
static void bloaty::ReadDWARFDebugInfo (dwarf::InfoReader &reader, dwarf::InfoReader::Section section, const DualMap &symbol_map, RangeSink *sink)
 
void bloaty::ReadDWARFInlines (const dwarf::File &file, RangeSink *sink, bool include_line)
 
static void bloaty::ReadDWARFPubNames (dwarf::InfoReader &reader, string_view section, RangeSink *sink)
 
static void bloaty::ReadDWARFStmtList (bool include_line, dwarf::LineInfoReader *line_info_reader, RangeSink *sink)
 
static void bloaty::ReadDWARFStmtListRange (const dwarf::CU &cu, uint64_t offset, RangeSink *sink)
 
void bloaty::ReadGeneralDIEAttr (uint16_t tag, dwarf::AttrValue val, const dwarf::CU &cu, GeneralDIE *die)
 
void bloaty::dwarf::ReadRangeList (const CU &cu, uint64_t low_pc, string_view name, RangeSink *sink, string_view *data)
 
uint64_t bloaty::TryReadPcPair (const dwarf::CU &cu, const GeneralDIE &die, RangeSink *sink)
 


grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:11