29 for (
const std::string &S : DwarfFiles)
83 assert(!SubSection &&
"SubSection is not null!");
103 unsigned NumElements = Data.
size();
104 const unsigned MaxLen = 40;
105 unsigned NumChunks = 1 + ((NumElements - 1) / MaxLen);
108 for (
unsigned I = 0;
I < NumChunks; ++
I) {
112 const char *Label = Directive;
113 for (
auto It = std::next(Data.
bytes_begin(),
I * MaxLen),
114 End = (
I == NumChunks - 1)
119 if (Label == Directive)
const MCAsmInfo * getAsmInfo() const
Instances of this class represent a uniqued identifier for a section in the current translation unit...
MCSection * getDwarfStrOffSection() const
SectionKind getKind() const
MCSection * getDwarfTUIndexSection() const
MCSection * getDwarfAccelObjCSection() const
MCSection * getDwarfCUIndexSection() const
void EmitRawText(const Twine &String)
If this file is backed by a assembly streamer, this dumps the specified string in the output ...
MCSection * getDwarfStrSection() const
This class represents lattice values for constants.
MCSection * getDwarfLineSection() const
const unsigned char * bytes_end() const
MCSection * getDwarfLocSection() const
LLVM_NODISCARD LLVM_ATTRIBUTE_ALWAYS_INLINE size_t size() const
size - Get the string size.
Target specific streamer interface.
MCSection * getDwarfAccelNamesSection() const
~NVPTXTargetStreamer() override
MCSection * getDwarfLineStrSection() const
void emitRawBytes(StringRef Data) override
Emit the bytes in Data into the output.
A raw_ostream that writes to an SmallVector or SmallString.
MCSection * getDwarfARangesSection() const
MCSection * getDwarfPubNamesSection() const
MCContext & getContext() const
MCSection * getDwarfMacinfoSection() const
MCSection * getDwarfLocDWOSection() const
Base class for the full range of assembler expressions which are needed for parsing.
MCSection * getDwarfFrameSection() const
const MCSection * getDwarfDebugInlineSection() const
MCSection * getDwarfAccelTypesSection() const
MCSection * getDwarfAbbrevSection() const
MCSection * getDwarfAbbrevDWOSection() const
const char * getData8bitsDirective() const
This class is intended to be used as a base class for asm properties and features specific to the tar...
MCSection * getDwarfGnuPubTypesSection() const
MCSection * getDwarfTypesDWOSection() const
Streaming machine code generation interface.
MCSection * getDwarfAddrSection() const
MCSection * getDwarfLineDWOSection() const
const MCObjectFileInfo * getObjectFileInfo() const
NVPTXTargetStreamer(MCStreamer &S)
MCSection * getDwarfSwiftASTSection() const
virtual void PrintSwitchToSection(const MCAsmInfo &MAI, const Triple &T, raw_ostream &OS, const MCExpr *Subsection) const =0
void changeSection(const MCSection *CurSection, MCSection *Section, const MCExpr *SubSection, raw_ostream &OS) override
Update streamer for a new active section.
MCStreamer & getStreamer()
const Triple & getTargetTriple() const
static bool isDwarfSection(const MCObjectFileInfo *FI, const MCSection *Section)
StringRef str()
Return a StringRef for the vector contents.
MCSection * getDwarfInfoSection() const
MCSection * getDwarfDebugNamesSection() const
MCSection * getDwarfStrOffDWOSection() const
void emitDwarfFileDirective(StringRef Directive) override
Record DWARF file directives for later output.
MCSection * getDwarfPubTypesSection() const
MCSection * getDwarfStrDWOSection() const
const unsigned char * bytes_begin() const
void emplace_back(ArgTypes &&... Args)
MCSection * getDwarfGnuPubNamesSection() const
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
MCSection * getDwarfAccelNamespaceSection() const
This class implements an extremely fast bulk output stream that can only output to a stream...
MCSection * getDwarfInfoDWOSection() const
StringRef - Represent a constant reference to a string, i.e.
MCSection * getDwarfRangesSection() const
void outputDwarfFileDirectives()
Outputs the list of the DWARF '.file' directives to the streamer.