1 //===-- llvm/Target/TargetAsmInfo.h - Asm info ------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 // This file contains a class to be used as the basis for target specific
11 // asm writers. This class primarily takes care of global printing constants,
12 // which are used in very similar ways across all targets.
14 //===----------------------------------------------------------------------===//
16 #ifndef LLVM_TARGET_ASM_INFO_H
17 #define LLVM_TARGET_ASM_INFO_H
19 #include "llvm/Support/DataTypes.h"
22 // DWARF encoding query type
23 namespace DwarfEncoding {
31 namespace SectionKind {
33 Unknown = 0, ///< Custom section
34 Text, ///< Text section
35 Data, ///< Data section
37 ROData, ///< Readonly data section
38 RODataMergeStr, ///< Readonly data section (mergeable strings)
39 RODataMergeConst, ///< Readonly data section (mergeable constants)
40 ThreadData, ///< Initialized TLS data objects
41 ThreadBSS ///< Uninitialized TLS data objects
45 namespace SectionFlags {
48 Code = 1 << 0, ///< Section contains code
49 Writeable = 1 << 1, ///< Section is writeable
50 BSS = 1 << 2, ///< Section contains only zeroes
51 Mergeable = 1 << 3, ///< Section contains mergeable data
52 Strings = 1 << 4, ///< Section contains null-terminated strings
53 TLS = 1 << 5, ///< Section contains thread-local data
54 Debug = 1 << 6, ///< Section contains debug data
55 Linkonce = 1 << 7, ///< Section is linkonce
56 // Some gap for future flags
57 EntitySize = 0xFF << 24 ///< Entity size for mergeable sections
60 static inline unsigned getEntitySize(unsigned Flags) {
61 return (Flags >> 24) & 0xFF;
64 static inline unsigned setEntitySize(unsigned Flags, unsigned Size) {
65 return ((Flags & ~EntitySize) | ((Size & 0xFF) << 24));
73 /// TargetAsmInfo - This class is intended to be used as a base class for asm
74 /// properties and features specific to the target.
77 //===------------------------------------------------------------------===//
78 // Properties to be set by the target writer, used to configure asm printer.
81 /// TextSection - Section directive for standard text.
83 const char *TextSection; // Defaults to ".text".
85 /// DataSection - Section directive for standard data.
87 const char *DataSection; // Defaults to ".data".
89 /// BSSSection - Section directive for uninitialized data. Null if this
90 /// target doesn't support a BSS section.
92 const char *BSSSection; // Default to ".bss".
94 /// TLSDataSection - Section directive for Thread Local data.
96 const char *TLSDataSection;// Defaults to ".section .tdata,"awT",@progbits".
98 /// TLSBSSSection - Section directive for Thread Local uninitialized data.
99 /// Null if this target doesn't support a BSS section.
101 const char *TLSBSSSection;// Default to ".section .tbss,"awT",@nobits".
103 /// ZeroFillDirective - Directive for emitting a global to the ZeroFill
104 /// section on this target. Null if this target doesn't support zerofill.
105 const char *ZeroFillDirective; // Default is null.
107 /// NonexecutableStackDirective - Directive for declaring to the
108 /// linker and beyond that the emitted code does not require stack
109 /// memory to be executable.
110 const char *NonexecutableStackDirective; // Default is null.
112 /// NeedsSet - True if target asm treats expressions in data directives
113 /// as linktime-relocatable. For assembly-time computation, we need to
114 /// use a .set. Thus:
117 /// is computed at assembly time, while
119 /// is relocated if the relative locations of x and y change at linktime.
120 /// We want both these things in different places.
121 bool NeedsSet; // Defaults to false.
123 /// MaxInstLength - This is the maximum possible length of an instruction,
124 /// which is needed to compute the size of an inline asm.
125 unsigned MaxInstLength; // Defaults to 4.
127 /// PCSymbol - The symbol used to represent the current PC. Used in PC
128 /// relative expressions.
129 const char *PCSymbol; // Defaults to "$".
131 /// SeparatorChar - This character, if specified, is used to separate
132 /// instructions from each other when on the same line. This is used to
133 /// measure inline asm instructions.
134 char SeparatorChar; // Defaults to ';'
136 /// CommentString - This indicates the comment character used by the
138 const char *CommentString; // Defaults to "#"
140 /// GlobalPrefix - If this is set to a non-empty string, it is prepended
141 /// onto all global symbols. This is often used for "_" or ".".
142 const char *GlobalPrefix; // Defaults to ""
144 /// PrivateGlobalPrefix - This prefix is used for globals like constant
145 /// pool entries that are completely private to the .o file and should not
146 /// have names in the .o file. This is often "." or "L".
147 const char *PrivateGlobalPrefix; // Defaults to "."
149 /// JumpTableSpecialLabelPrefix - If not null, a extra (dead) label is
150 /// emitted before jump tables with the specified prefix.
151 const char *JumpTableSpecialLabelPrefix; // Default to null.
153 /// GlobalVarAddrPrefix/Suffix - If these are nonempty, these strings
154 /// will enclose any GlobalVariable (that isn't a function)
156 const char *GlobalVarAddrPrefix; // Defaults to ""
157 const char *GlobalVarAddrSuffix; // Defaults to ""
159 /// FunctionAddrPrefix/Suffix - If these are nonempty, these strings
160 /// will enclose any GlobalVariable that points to a function.
161 /// For example, this is used by the IA64 backend to materialize
162 /// function descriptors, by decorating the ".data8" object with the
163 /// @verbatim @fptr( ) @endverbatim
164 /// link-relocation operator.
166 const char *FunctionAddrPrefix; // Defaults to ""
167 const char *FunctionAddrSuffix; // Defaults to ""
169 /// PersonalityPrefix/Suffix - If these are nonempty, these strings will
170 /// enclose any personality function in the common frame section.
172 const char *PersonalityPrefix; // Defaults to ""
173 const char *PersonalitySuffix; // Defaults to ""
175 /// NeedsIndirectEncoding - If set, we need to set the indirect encoding bit
178 bool NeedsIndirectEncoding; // Defaults to false
180 /// InlineAsmStart/End - If these are nonempty, they contain a directive to
181 /// emit before and after an inline assembly statement.
182 const char *InlineAsmStart; // Defaults to "#APP\n"
183 const char *InlineAsmEnd; // Defaults to "#NO_APP\n"
185 /// AssemblerDialect - Which dialect of an assembler variant to use.
186 unsigned AssemblerDialect; // Defaults to 0
188 /// StringConstantPrefix - Prefix for FEs to use when generating unnamed
189 /// constant strings. These names get run through the Mangler later; if
190 /// you want the Mangler not to add the GlobalPrefix as well,
191 /// use '\1' as the first character.
192 const char *StringConstantPrefix; // Defaults to ".str"
194 //===--- Data Emission Directives -------------------------------------===//
196 /// ZeroDirective - this should be set to the directive used to get some
197 /// number of zero bytes emitted to the current section. Common cases are
198 /// "\t.zero\t" and "\t.space\t". If this is set to null, the
199 /// Data*bitsDirective's will be used to emit zero bytes.
200 const char *ZeroDirective; // Defaults to "\t.zero\t"
201 const char *ZeroDirectiveSuffix; // Defaults to ""
203 /// AsciiDirective - This directive allows emission of an ascii string with
204 /// the standard C escape characters embedded into it.
205 const char *AsciiDirective; // Defaults to "\t.ascii\t"
207 /// AscizDirective - If not null, this allows for special handling of
208 /// zero terminated strings on this target. This is commonly supported as
209 /// ".asciz". If a target doesn't support this, it can be set to null.
210 const char *AscizDirective; // Defaults to "\t.asciz\t"
212 /// DataDirectives - These directives are used to output some unit of
213 /// integer data to the current section. If a data directive is set to
214 /// null, smaller data directives will be used to emit the large sizes.
215 const char *Data8bitsDirective; // Defaults to "\t.byte\t"
216 const char *Data16bitsDirective; // Defaults to "\t.short\t"
217 const char *Data32bitsDirective; // Defaults to "\t.long\t"
218 const char *Data64bitsDirective; // Defaults to "\t.quad\t"
220 //===--- Alignment Information ----------------------------------------===//
222 /// AlignDirective - The directive used to emit round up to an alignment
225 const char *AlignDirective; // Defaults to "\t.align\t"
227 /// AlignmentIsInBytes - If this is true (the default) then the asmprinter
228 /// emits ".align N" directives, where N is the number of bytes to align to.
229 /// Otherwise, it emits ".align log2(N)", e.g. 3 to align to an 8 byte
231 bool AlignmentIsInBytes; // Defaults to true
233 /// TextAlignFillValue - If non-zero, this is used to fill the executable
234 /// space created as the result of a alignment directive.
235 unsigned TextAlignFillValue;
237 //===--- Section Switching Directives ---------------------------------===//
239 /// SwitchToSectionDirective - This is the directive used when we want to
240 /// emit a global to an arbitrary section. The section name is emited after
242 const char *SwitchToSectionDirective; // Defaults to "\t.section\t"
244 /// TextSectionStartSuffix - This is printed after each start of section
245 /// directive for text sections.
246 const char *TextSectionStartSuffix; // Defaults to "".
248 /// DataSectionStartSuffix - This is printed after each start of section
249 /// directive for data sections.
250 const char *DataSectionStartSuffix; // Defaults to "".
252 /// SectionEndDirectiveSuffix - If non-null, the asm printer will close each
253 /// section with the section name and this suffix printed.
254 const char *SectionEndDirectiveSuffix;// Defaults to null.
256 /// ConstantPoolSection - This is the section that we SwitchToSection right
257 /// before emitting the constant pool for a function.
258 const char *ConstantPoolSection; // Defaults to "\t.section .rodata"
260 /// JumpTableDataSection - This is the section that we SwitchToSection right
261 /// before emitting the jump tables for a function when the relocation model
263 const char *JumpTableDataSection; // Defaults to "\t.section .rodata"
265 /// JumpTableDirective - if non-null, the directive to emit before a jump
267 const char *JumpTableDirective;
269 /// CStringSection - If not null, this allows for special handling of
270 /// cstring constants (null terminated string that does not contain any
271 /// other null bytes) on this target. This is commonly supported as
273 const char *CStringSection; // Defaults to NULL
275 /// StaticCtorsSection - This is the directive that is emitted to switch to
276 /// a section to emit the static constructor list.
277 /// Defaults to "\t.section .ctors,\"aw\",@progbits".
278 const char *StaticCtorsSection;
280 /// StaticDtorsSection - This is the directive that is emitted to switch to
281 /// a section to emit the static destructor list.
282 /// Defaults to "\t.section .dtors,\"aw\",@progbits".
283 const char *StaticDtorsSection;
285 /// FourByteConstantSection, EightByteConstantSection,
286 /// SixteenByteConstantSection - These are special sections where we place
287 /// 4-, 8-, and 16- byte constant literals.
288 const char *FourByteConstantSection;
289 const char *EightByteConstantSection;
290 const char *SixteenByteConstantSection;
292 /// ReadOnlySection - This is the directive that is emitted to switch to a
293 /// read-only section for constant data (e.g. data declared const,
295 const char *ReadOnlySection; // Defaults to NULL
297 //===--- Global Variable Emission Directives --------------------------===//
299 /// GlobalDirective - This is the directive used to declare a global entity.
301 const char *GlobalDirective; // Defaults to NULL.
303 /// SetDirective - This is the name of a directive that can be used to tell
304 /// the assembler to set the value of a variable to some expression.
305 const char *SetDirective; // Defaults to null.
307 /// LCOMMDirective - This is the name of a directive (if supported) that can
308 /// be used to efficiently declare a local (internal) block of zero
309 /// initialized data in the .bss/.data section. The syntax expected is:
310 /// @verbatim <LCOMMDirective> SYMBOLNAME LENGTHINBYTES, ALIGNMENT
312 const char *LCOMMDirective; // Defaults to null.
314 const char *COMMDirective; // Defaults to "\t.comm\t".
316 /// COMMDirectiveTakesAlignment - True if COMMDirective take a third
317 /// argument that specifies the alignment of the declaration.
318 bool COMMDirectiveTakesAlignment; // Defaults to true.
320 /// HasDotTypeDotSizeDirective - True if the target has .type and .size
321 /// directives, this is true for most ELF targets.
322 bool HasDotTypeDotSizeDirective; // Defaults to true.
324 /// UsedDirective - This directive, if non-null, is used to declare a global
325 /// as being used somehow that the assembler can't see. This prevents dead
326 /// code elimination on some targets.
327 const char *UsedDirective; // Defaults to null.
329 /// WeakRefDirective - This directive, if non-null, is used to declare a
330 /// global as being a weak undefined symbol.
331 const char *WeakRefDirective; // Defaults to null.
333 /// WeakDefDirective - This directive, if non-null, is used to declare a
334 /// global as being a weak defined symbol.
335 const char *WeakDefDirective; // Defaults to null.
337 /// HiddenDirective - This directive, if non-null, is used to declare a
338 /// global or function as having hidden visibility.
339 const char *HiddenDirective; // Defaults to "\t.hidden\t".
341 /// ProtectedDirective - This directive, if non-null, is used to declare a
342 /// global or function as having protected visibility.
343 const char *ProtectedDirective; // Defaults to "\t.protected\t".
345 //===--- Dwarf Emission Directives -----------------------------------===//
347 /// AbsoluteDebugSectionOffsets - True if we should emit abolute section
348 /// offsets for debug information. Defaults to false.
349 bool AbsoluteDebugSectionOffsets;
351 /// AbsoluteEHSectionOffsets - True if we should emit abolute section
352 /// offsets for EH information. Defaults to false.
353 bool AbsoluteEHSectionOffsets;
355 /// HasLEB128 - True if target asm supports leb128 directives.
357 bool HasLEB128; // Defaults to false.
359 /// hasDotLocAndDotFile - True if target asm supports .loc and .file
360 /// directives for emitting debugging information.
362 bool HasDotLocAndDotFile; // Defaults to false.
364 /// SupportsDebugInformation - True if target supports emission of debugging
366 bool SupportsDebugInformation;
368 /// SupportsExceptionHandling - True if target supports
369 /// exception handling.
371 bool SupportsExceptionHandling; // Defaults to false.
373 /// RequiresFrameSection - true if the Dwarf2 output needs a frame section
375 bool DwarfRequiresFrameSection; // Defaults to true.
377 /// GlobalEHDirective - This is the directive used to make exception frame
378 /// tables globally visible.
380 const char *GlobalEHDirective; // Defaults to NULL.
382 /// SupportsWeakEmptyEHFrame - True if target assembler and linker will
383 /// handle a weak_definition of constant 0 for an omitted EH frame.
384 bool SupportsWeakOmittedEHFrame; // Defaults to true.
386 /// DwarfSectionOffsetDirective - Special section offset directive.
387 const char* DwarfSectionOffsetDirective; // Defaults to NULL
389 /// DwarfAbbrevSection - Section directive for Dwarf abbrev.
391 const char *DwarfAbbrevSection; // Defaults to ".debug_abbrev".
393 /// DwarfInfoSection - Section directive for Dwarf info.
395 const char *DwarfInfoSection; // Defaults to ".debug_info".
397 /// DwarfLineSection - Section directive for Dwarf info.
399 const char *DwarfLineSection; // Defaults to ".debug_line".
401 /// DwarfFrameSection - Section directive for Dwarf info.
403 const char *DwarfFrameSection; // Defaults to ".debug_frame".
405 /// DwarfPubNamesSection - Section directive for Dwarf info.
407 const char *DwarfPubNamesSection; // Defaults to ".debug_pubnames".
409 /// DwarfPubTypesSection - Section directive for Dwarf info.
411 const char *DwarfPubTypesSection; // Defaults to ".debug_pubtypes".
413 /// DwarfStrSection - Section directive for Dwarf info.
415 const char *DwarfStrSection; // Defaults to ".debug_str".
417 /// DwarfLocSection - Section directive for Dwarf info.
419 const char *DwarfLocSection; // Defaults to ".debug_loc".
421 /// DwarfARangesSection - Section directive for Dwarf info.
423 const char *DwarfARangesSection; // Defaults to ".debug_aranges".
425 /// DwarfRangesSection - Section directive for Dwarf info.
427 const char *DwarfRangesSection; // Defaults to ".debug_ranges".
429 /// DwarfMacInfoSection - Section directive for Dwarf info.
431 const char *DwarfMacInfoSection; // Defaults to ".debug_macinfo".
433 /// DwarfEHFrameSection - Section directive for Exception frames.
435 const char *DwarfEHFrameSection; // Defaults to ".eh_frame".
437 /// DwarfExceptionSection - Section directive for Exception table.
439 const char *DwarfExceptionSection; // Defaults to ".gcc_except_table".
441 //===--- CBE Asm Translation Table -----------------------------------===//
443 const char *const *AsmTransCBE; // Defaults to empty
447 virtual ~TargetAsmInfo();
449 /// Measure the specified inline asm to determine an approximation of its
451 virtual unsigned getInlineAsmLength(const char *Str) const;
453 /// ExpandInlineAsm - This hook allows the target to expand an inline asm
454 /// call to be explicit llvm code if it wants to. This is useful for
455 /// turning simple inline asms into LLVM intrinsics, which gives the
456 /// compiler more information about the behavior of the code.
457 virtual bool ExpandInlineAsm(CallInst *CI) const {
461 /// PreferredEHDataFormat - This hook allows the target to select data
462 /// format used for encoding pointers in exception handling data. Reason is
463 /// 0 for data, 1 for code labels, 2 for function pointers. Global is true
464 /// if the symbol can be relocated.
465 virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
468 /// SectionKindForGlobal - This hook allows the target to select proper
469 /// section kind used for global emission.
470 virtual SectionKind::Kind
471 SectionKindForGlobal(const GlobalValue *GV) const;
474 /// SectionFlagsForGlobal - This hook allows the target to select proper
475 /// section flags either for given global or for section.
477 SectionFlagsForGlobal(const GlobalValue *GV = NULL,
478 const char* name = NULL) const;
480 /// SectionForGlobal - This hooks returns proper section name for given
481 /// global with all necessary flags and marks.
482 virtual std::string SectionForGlobal(const GlobalValue *GV) const;
484 // Helper methods for SectionForGlobal
485 virtual std::string UniqueSectionForGlobal(const GlobalValue* GV,
486 SectionKind::Kind kind) const;
488 virtual std::string PrintSectionFlags(unsigned flags) const { return ""; }
490 virtual std::string SelectSectionForGlobal(const GlobalValue *GV) const;
494 const char *getTextSection() const {
497 const char *getDataSection() const {
500 const char *getBSSSection() const {
503 const char *getTLSDataSection() const {
504 return TLSDataSection;
506 const char *getTLSBSSSection() const {
507 return TLSBSSSection;
509 const char *getZeroFillDirective() const {
510 return ZeroFillDirective;
512 const char *getNonexecutableStackDirective() const {
513 return NonexecutableStackDirective;
515 bool needsSet() const {
518 const char *getPCSymbol() const {
521 char getSeparatorChar() const {
522 return SeparatorChar;
524 const char *getCommentString() const {
525 return CommentString;
527 const char *getGlobalPrefix() const {
530 const char *getPrivateGlobalPrefix() const {
531 return PrivateGlobalPrefix;
533 const char *getJumpTableSpecialLabelPrefix() const {
534 return JumpTableSpecialLabelPrefix;
536 const char *getGlobalVarAddrPrefix() const {
537 return GlobalVarAddrPrefix;
539 const char *getGlobalVarAddrSuffix() const {
540 return GlobalVarAddrSuffix;
542 const char *getFunctionAddrPrefix() const {
543 return FunctionAddrPrefix;
545 const char *getFunctionAddrSuffix() const {
546 return FunctionAddrSuffix;
548 const char *getPersonalityPrefix() const {
549 return PersonalityPrefix;
551 const char *getPersonalitySuffix() const {
552 return PersonalitySuffix;
554 bool getNeedsIndirectEncoding() const {
555 return NeedsIndirectEncoding;
557 const char *getInlineAsmStart() const {
558 return InlineAsmStart;
560 const char *getInlineAsmEnd() const {
563 unsigned getAssemblerDialect() const {
564 return AssemblerDialect;
566 const char *getStringConstantPrefix() const {
567 return StringConstantPrefix;
569 const char *getZeroDirective() const {
570 return ZeroDirective;
572 const char *getZeroDirectiveSuffix() const {
573 return ZeroDirectiveSuffix;
575 const char *getAsciiDirective() const {
576 return AsciiDirective;
578 const char *getAscizDirective() const {
579 return AscizDirective;
581 const char *getData8bitsDirective() const {
582 return Data8bitsDirective;
584 const char *getData16bitsDirective() const {
585 return Data16bitsDirective;
587 const char *getData32bitsDirective() const {
588 return Data32bitsDirective;
590 const char *getData64bitsDirective() const {
591 return Data64bitsDirective;
593 const char *getJumpTableDirective() const {
594 return JumpTableDirective;
596 const char *getAlignDirective() const {
597 return AlignDirective;
599 bool getAlignmentIsInBytes() const {
600 return AlignmentIsInBytes;
602 unsigned getTextAlignFillValue() const {
603 return TextAlignFillValue;
605 const char *getSwitchToSectionDirective() const {
606 return SwitchToSectionDirective;
608 const char *getTextSectionStartSuffix() const {
609 return TextSectionStartSuffix;
611 const char *getDataSectionStartSuffix() const {
612 return DataSectionStartSuffix;
614 const char *getSectionEndDirectiveSuffix() const {
615 return SectionEndDirectiveSuffix;
617 const char *getConstantPoolSection() const {
618 return ConstantPoolSection;
620 const char *getJumpTableDataSection() const {
621 return JumpTableDataSection;
623 const char *getCStringSection() const {
624 return CStringSection;
626 const char *getStaticCtorsSection() const {
627 return StaticCtorsSection;
629 const char *getStaticDtorsSection() const {
630 return StaticDtorsSection;
632 const char *getFourByteConstantSection() const {
633 return FourByteConstantSection;
635 const char *getEightByteConstantSection() const {
636 return EightByteConstantSection;
638 const char *getSixteenByteConstantSection() const {
639 return SixteenByteConstantSection;
641 const char *getReadOnlySection() const {
642 return ReadOnlySection;
644 const char *getGlobalDirective() const {
645 return GlobalDirective;
647 const char *getSetDirective() const {
650 const char *getLCOMMDirective() const {
651 return LCOMMDirective;
653 const char *getCOMMDirective() const {
654 return COMMDirective;
656 bool getCOMMDirectiveTakesAlignment() const {
657 return COMMDirectiveTakesAlignment;
659 bool hasDotTypeDotSizeDirective() const {
660 return HasDotTypeDotSizeDirective;
662 const char *getUsedDirective() const {
663 return UsedDirective;
665 const char *getWeakRefDirective() const {
666 return WeakRefDirective;
668 const char *getWeakDefDirective() const {
669 return WeakDefDirective;
671 const char *getHiddenDirective() const {
672 return HiddenDirective;
674 const char *getProtectedDirective() const {
675 return ProtectedDirective;
677 bool isAbsoluteDebugSectionOffsets() const {
678 return AbsoluteDebugSectionOffsets;
680 bool isAbsoluteEHSectionOffsets() const {
681 return AbsoluteEHSectionOffsets;
683 bool hasLEB128() const {
686 bool hasDotLocAndDotFile() const {
687 return HasDotLocAndDotFile;
689 bool doesSupportDebugInformation() const {
690 return SupportsDebugInformation;
692 bool doesSupportExceptionHandling() const {
693 return SupportsExceptionHandling;
695 bool doesDwarfRequireFrameSection() const {
696 return DwarfRequiresFrameSection;
698 const char *getGlobalEHDirective() const {
699 return GlobalEHDirective;
701 bool getSupportsWeakOmittedEHFrame() const {
702 return SupportsWeakOmittedEHFrame;
704 const char *getDwarfSectionOffsetDirective() const {
705 return DwarfSectionOffsetDirective;
707 const char *getDwarfAbbrevSection() const {
708 return DwarfAbbrevSection;
710 const char *getDwarfInfoSection() const {
711 return DwarfInfoSection;
713 const char *getDwarfLineSection() const {
714 return DwarfLineSection;
716 const char *getDwarfFrameSection() const {
717 return DwarfFrameSection;
719 const char *getDwarfPubNamesSection() const {
720 return DwarfPubNamesSection;
722 const char *getDwarfPubTypesSection() const {
723 return DwarfPubTypesSection;
725 const char *getDwarfStrSection() const {
726 return DwarfStrSection;
728 const char *getDwarfLocSection() const {
729 return DwarfLocSection;
731 const char *getDwarfARangesSection() const {
732 return DwarfARangesSection;
734 const char *getDwarfRangesSection() const {
735 return DwarfRangesSection;
737 const char *getDwarfMacInfoSection() const {
738 return DwarfMacInfoSection;
740 const char *getDwarfEHFrameSection() const {
741 return DwarfEHFrameSection;
743 const char *getDwarfExceptionSection() const {
744 return DwarfExceptionSection;
746 const char *const *getAsmCBE() const {