LLVM 20.0.0git
Namespaces | Macros | Functions
DWARFDebugLoc.cpp File Reference
#include "llvm/DebugInfo/DWARF/DWARFDebugLoc.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/DebugInfo/DIContext.h"
#include "llvm/DebugInfo/DWARF/DWARFAddressRange.h"
#include "llvm/DebugInfo/DWARF/DWARFExpression.h"
#include "llvm/DebugInfo/DWARF/DWARFFormValue.h"
#include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h"
#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
#include "llvm/Support/Format.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cinttypes>
#include <cstdint>
#include "llvm/BinaryFormat/Dwarf.def"

Go to the source code of this file.

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 

Macros

#define HANDLE_DW_LLE(ID, NAME)
 

Functions

static Error createResolverError (uint32_t Index, unsigned Kind)
 
static void dumpExpression (raw_ostream &OS, DIDumpOptions DumpOpts, ArrayRef< uint8_t > Data, bool IsLittleEndian, unsigned AddressSize, DWARFUnit *U)
 

Macro Definition Documentation

◆ HANDLE_DW_LLE

#define HANDLE_DW_LLE (   ID,
  NAME 
)
Value:
MaxEncodingStringLength = std::max(MaxEncodingStringLength, \
StringRef LocListEncodingString(unsigned Encoding)
Definition: Dwarf.cpp:602
auto size(R &&Range, std::enable_if_t< std::is_base_of< std::random_access_iterator_tag, typename std::iterator_traits< decltype(Range.begin())>::iterator_category >::value, void > *=nullptr)
Get the size of a range.
Definition: STLExtras.h:1680

Function Documentation

◆ createResolverError()

static Error createResolverError ( uint32_t  Index,
unsigned  Kind 
)
static

Definition at line 48 of file DWARFDebugLoc.cpp.

◆ dumpExpression()

static void dumpExpression ( raw_ostream OS,
DIDumpOptions  DumpOpts,
ArrayRef< uint8_t >  Data,
bool  IsLittleEndian,
unsigned  AddressSize,
DWARFUnit U 
)
static

Definition at line 112 of file DWARFDebugLoc.cpp.

References OS, and llvm::DWARFExpression::print().