#include "llvm/ADT/Twine.h"
#include "llvm/BinaryFormat/Dwarf.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/DIE.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCDwarf.h"
#include "llvm/MC/MCSection.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include <cstdint>
usingnamespacellvm;
#define DEBUG_TYPE …
static const char *DecodeDWARFEncoding(unsigned Encoding) { … }
void AsmPrinter::emitEncodingByte(unsigned Val, const char *Desc) const { … }
unsigned AsmPrinter::GetSizeOfEncodedValue(unsigned Encoding) const { … }
void AsmPrinter::emitTTypeReference(const GlobalValue *GV, unsigned Encoding) { … }
void AsmPrinter::emitDwarfSymbolReference(const MCSymbol *Label,
bool ForceOffset) const { … }
void AsmPrinter::emitDwarfStringOffset(DwarfStringPoolEntry S) const { … }
void AsmPrinter::emitDwarfOffset(const MCSymbol *Label, uint64_t Offset) const { … }
void AsmPrinter::emitDwarfLengthOrOffset(uint64_t Value) const { … }
void AsmPrinter::emitDwarfUnitLength(uint64_t Length,
const Twine &Comment) const { … }
MCSymbol *AsmPrinter::emitDwarfUnitLength(const Twine &Prefix,
const Twine &Comment) const { … }
void AsmPrinter::emitCallSiteOffset(const MCSymbol *Hi, const MCSymbol *Lo,
unsigned Encoding) const { … }
void AsmPrinter::emitCallSiteValue(uint64_t Value, unsigned Encoding) const { … }
void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const { … }
void AsmPrinter::emitDwarfDIE(const DIE &Die) const { … }
void AsmPrinter::emitDwarfAbbrev(const DIEAbbrev &Abbrev) const { … }