Fix doxygen comment syntax.
[oota-llvm.git] / include / llvm / Target / TargetAsmInfo.h
1 //===-- llvm/Target/TargetAsmInfo.h - Asm info ------------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
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.
13 //
14 //===----------------------------------------------------------------------===//
15
16 #ifndef LLVM_TARGET_ASM_INFO_H
17 #define LLVM_TARGET_ASM_INFO_H
18
19 #include "llvm/CodeGen/MachineFunctionPass.h"
20 #include "llvm/Support/DataTypes.h"
21
22 namespace llvm {
23   // DWARF encoding query type
24   namespace DwarfEncoding {
25     enum Target {
26       Data       = 0,
27       CodeLabels = 1,
28       Functions  = 2
29     };
30   }
31
32   class TargetMachine;
33   class CallInst;
34
35   /// TargetAsmInfo - This class is intended to be used as a base class for asm
36   /// properties and features specific to the target.
37   class TargetAsmInfo {
38   protected:
39     //===------------------------------------------------------------------===//
40     // Properties to be set by the target writer, used to configure asm printer.
41     //
42     
43     /// TextSection - Section directive for standard text.
44     ///
45     const char *TextSection;              // Defaults to ".text".
46     
47     /// DataSection - Section directive for standard data.
48     ///
49     const char *DataSection;              // Defaults to ".data".
50
51     /// BSSSection - Section directive for uninitialized data.  Null if this
52     /// target doesn't support a BSS section.
53     ///
54     const char *BSSSection;               // Default to ".bss".
55
56     /// TLSDataSection - Section directive for Thread Local data.
57     ///
58     const char *TLSDataSection;// Defaults to ".section .tdata,"awT",@progbits".
59
60     /// TLSBSSSection - Section directive for Thread Local uninitialized data.
61     /// Null if this target doesn't support a BSS section.
62     ///
63     const char *TLSBSSSection;// Default to ".section .tbss,"awT",@nobits".
64
65     /// ZeroFillDirective - Directive for emitting a global to the ZeroFill
66     /// section on this target.  Null if this target doesn't support zerofill.
67     const char *ZeroFillDirective;        // Default is null.
68     
69     /// NonexecutableStackDirective - Directive for declaring to the
70     /// linker and beyond that the emitted code does not require stack
71     /// memory to be executable.
72     const char *NonexecutableStackDirective; // Default is null.
73
74     /// NeedsSet - True if target asm treats expressions in data directives
75     /// as linktime-relocatable.  For assembly-time computation, we need to
76     /// use a .set.  Thus:
77     /// .set w, x-y
78     /// .long w
79     /// is computed at assembly time, while
80     /// .long x-y
81     /// is relocated if the relative locations of x and y change at linktime.
82     /// We want both these things in different places.
83     bool NeedsSet;                        // Defaults to false.
84     
85     /// MaxInstLength - This is the maximum possible length of an instruction,
86     /// which is needed to compute the size of an inline asm.
87     unsigned MaxInstLength;               // Defaults to 4.
88     
89     /// PCSymbol - The symbol used to represent the current PC.  Used in PC
90     /// relative expressions.
91     const char *PCSymbol;                 // Defaults to "$".
92
93     /// SeparatorChar - This character, if specified, is used to separate
94     /// instructions from each other when on the same line.  This is used to
95     /// measure inline asm instructions.
96     char SeparatorChar;                   // Defaults to ';'
97
98     /// CommentString - This indicates the comment character used by the
99     /// assembler.
100     const char *CommentString;            // Defaults to "#"
101
102     /// GlobalPrefix - If this is set to a non-empty string, it is prepended
103     /// onto all global symbols.  This is often used for "_" or ".".
104     const char *GlobalPrefix;             // Defaults to ""
105
106     /// PrivateGlobalPrefix - This prefix is used for globals like constant
107     /// pool entries that are completely private to the .o file and should not
108     /// have names in the .o file.  This is often "." or "L".
109     const char *PrivateGlobalPrefix;      // Defaults to "."
110     
111     /// JumpTableSpecialLabelPrefix - If not null, a extra (dead) label is
112     /// emitted before jump tables with the specified prefix.
113     const char *JumpTableSpecialLabelPrefix;  // Default to null.
114     
115     /// GlobalVarAddrPrefix/Suffix - If these are nonempty, these strings
116     /// will enclose any GlobalVariable (that isn't a function)
117     ///
118     const char *GlobalVarAddrPrefix;      // Defaults to ""
119     const char *GlobalVarAddrSuffix;      // Defaults to ""
120
121     /// FunctionAddrPrefix/Suffix - If these are nonempty, these strings
122     /// will enclose any GlobalVariable that points to a function.
123     /// For example, this is used by the IA64 backend to materialize
124     /// function descriptors, by decorating the ".data8" object with the
125     /// @verbatim @fptr( ) @endverbatim
126     /// link-relocation operator.
127     ///
128     const char *FunctionAddrPrefix;       // Defaults to ""
129     const char *FunctionAddrSuffix;       // Defaults to ""
130
131     /// PersonalityPrefix/Suffix - If these are nonempty, these strings will
132     /// enclose any personality function in the common frame section.
133     /// 
134     const char *PersonalityPrefix;        // Defaults to ""
135     const char *PersonalitySuffix;        // Defaults to ""
136
137     /// NeedsIndirectEncoding - If set, we need to set the indirect encoding bit
138     /// for EH in Dwarf.
139     /// 
140     bool NeedsIndirectEncoding;           // Defaults to false
141
142     /// InlineAsmStart/End - If these are nonempty, they contain a directive to
143     /// emit before and after an inline assembly statement.
144     const char *InlineAsmStart;           // Defaults to "#APP\n"
145     const char *InlineAsmEnd;             // Defaults to "#NO_APP\n"
146
147     /// AssemblerDialect - Which dialect of an assembler variant to use.
148     unsigned AssemblerDialect;            // Defaults to 0
149
150     //===--- Data Emission Directives -------------------------------------===//
151
152     /// ZeroDirective - this should be set to the directive used to get some
153     /// number of zero bytes emitted to the current section.  Common cases are
154     /// "\t.zero\t" and "\t.space\t".  If this is set to null, the
155     /// Data*bitsDirective's will be used to emit zero bytes.
156     const char *ZeroDirective;            // Defaults to "\t.zero\t"
157     const char *ZeroDirectiveSuffix;      // Defaults to ""
158
159     /// AsciiDirective - This directive allows emission of an ascii string with
160     /// the standard C escape characters embedded into it.
161     const char *AsciiDirective;           // Defaults to "\t.ascii\t"
162     
163     /// AscizDirective - If not null, this allows for special handling of
164     /// zero terminated strings on this target.  This is commonly supported as
165     /// ".asciz".  If a target doesn't support this, it can be set to null.
166     const char *AscizDirective;           // Defaults to "\t.asciz\t"
167
168     /// DataDirectives - These directives are used to output some unit of
169     /// integer data to the current section.  If a data directive is set to
170     /// null, smaller data directives will be used to emit the large sizes.
171     const char *Data8bitsDirective;       // Defaults to "\t.byte\t"
172     const char *Data16bitsDirective;      // Defaults to "\t.short\t"
173     const char *Data32bitsDirective;      // Defaults to "\t.long\t"
174     const char *Data64bitsDirective;      // Defaults to "\t.quad\t"
175
176     //===--- Alignment Information ----------------------------------------===//
177
178     /// AlignDirective - The directive used to emit round up to an alignment
179     /// boundary.
180     ///
181     const char *AlignDirective;           // Defaults to "\t.align\t"
182
183     /// AlignmentIsInBytes - If this is true (the default) then the asmprinter
184     /// emits ".align N" directives, where N is the number of bytes to align to.
185     /// Otherwise, it emits ".align log2(N)", e.g. 3 to align to an 8 byte
186     /// boundary.
187     bool AlignmentIsInBytes;              // Defaults to true
188
189     /// TextAlignFillValue - If non-zero, this is used to fill the executable
190     /// space created as the result of a alignment directive.
191     unsigned TextAlignFillValue;
192
193     //===--- Section Switching Directives ---------------------------------===//
194     
195     /// SwitchToSectionDirective - This is the directive used when we want to
196     /// emit a global to an arbitrary section.  The section name is emited after
197     /// this.
198     const char *SwitchToSectionDirective; // Defaults to "\t.section\t"
199     
200     /// TextSectionStartSuffix - This is printed after each start of section
201     /// directive for text sections.
202     const char *TextSectionStartSuffix;   // Defaults to "".
203
204     /// DataSectionStartSuffix - This is printed after each start of section
205     /// directive for data sections.
206     const char *DataSectionStartSuffix;   // Defaults to "".
207     
208     /// SectionEndDirectiveSuffix - If non-null, the asm printer will close each
209     /// section with the section name and this suffix printed.
210     const char *SectionEndDirectiveSuffix;// Defaults to null.
211     
212     /// ConstantPoolSection - This is the section that we SwitchToSection right
213     /// before emitting the constant pool for a function.
214     const char *ConstantPoolSection;      // Defaults to "\t.section .rodata"
215
216     /// JumpTableDataSection - This is the section that we SwitchToSection right
217     /// before emitting the jump tables for a function when the relocation model
218     /// is not PIC.
219     const char *JumpTableDataSection;     // Defaults to "\t.section .rodata"
220     
221     /// JumpTableDirective - if non-null, the directive to emit before a jump
222     /// table.
223     const char *JumpTableDirective;
224
225     /// CStringSection - If not null, this allows for special handling of
226     /// cstring constants (null terminated string that does not contain any
227     /// other null bytes) on this target. This is commonly supported as
228     /// ".cstring".
229     const char *CStringSection;           // Defaults to NULL
230
231     /// StaticCtorsSection - This is the directive that is emitted to switch to
232     /// a section to emit the static constructor list.
233     /// Defaults to "\t.section .ctors,\"aw\",@progbits".
234     const char *StaticCtorsSection;
235
236     /// StaticDtorsSection - This is the directive that is emitted to switch to
237     /// a section to emit the static destructor list.
238     /// Defaults to "\t.section .dtors,\"aw\",@progbits".
239     const char *StaticDtorsSection;
240
241     /// FourByteConstantSection, EightByteConstantSection,
242     /// SixteenByteConstantSection - These are special sections where we place
243     /// 4-, 8-, and 16- byte constant literals.
244     const char *FourByteConstantSection;
245     const char *EightByteConstantSection;
246     const char *SixteenByteConstantSection;
247
248     /// ReadOnlySection - This is the directive that is emitted to switch to a
249     /// read-only section for constant data (e.g. data declared const,
250     /// jump tables).
251     const char *ReadOnlySection;          // Defaults to NULL
252
253     //===--- Global Variable Emission Directives --------------------------===//
254     
255     /// GlobalDirective - This is the directive used to declare a global entity.
256     ///
257     const char *GlobalDirective;          // Defaults to NULL.
258     
259     /// SetDirective - This is the name of a directive that can be used to tell
260     /// the assembler to set the value of a variable to some expression.
261     const char *SetDirective;             // Defaults to null.
262     
263     /// LCOMMDirective - This is the name of a directive (if supported) that can
264     /// be used to efficiently declare a local (internal) block of zero
265     /// initialized data in the .bss/.data section.  The syntax expected is:
266     /// @verbatim <LCOMMDirective> SYMBOLNAME LENGTHINBYTES, ALIGNMENT
267     /// @endverbatim
268     const char *LCOMMDirective;           // Defaults to null.
269     
270     const char *COMMDirective;            // Defaults to "\t.comm\t".
271
272     /// COMMDirectiveTakesAlignment - True if COMMDirective take a third
273     /// argument that specifies the alignment of the declaration.
274     bool COMMDirectiveTakesAlignment;     // Defaults to true.
275     
276     /// HasDotTypeDotSizeDirective - True if the target has .type and .size
277     /// directives, this is true for most ELF targets.
278     bool HasDotTypeDotSizeDirective;      // Defaults to true.
279     
280     /// UsedDirective - This directive, if non-null, is used to declare a global
281     /// as being used somehow that the assembler can't see.  This prevents dead
282     /// code elimination on some targets.
283     const char *UsedDirective;            // Defaults to null.
284
285     /// WeakRefDirective - This directive, if non-null, is used to declare a
286     /// global as being a weak undefined symbol.
287     const char *WeakRefDirective;         // Defaults to null.
288     
289     /// WeakDefDirective - This directive, if non-null, is used to declare a
290     /// global as being a weak defined symbol.
291     const char *WeakDefDirective;         // Defaults to null.
292     
293     /// HiddenDirective - This directive, if non-null, is used to declare a
294     /// global or function as having hidden visibility.
295     const char *HiddenDirective;          // Defaults to "\t.hidden\t".
296
297     /// ProtectedDirective - This directive, if non-null, is used to declare a
298     /// global or function as having protected visibility.
299     const char *ProtectedDirective;       // Defaults to "\t.protected\t".
300
301     //===--- Dwarf Emission Directives -----------------------------------===//
302
303     /// AbsoluteDebugSectionOffsets - True if we should emit abolute section
304     /// offsets for debug information. Defaults to false.
305     bool AbsoluteDebugSectionOffsets;
306
307     /// AbsoluteEHSectionOffsets - True if we should emit abolute section
308     /// offsets for EH information. Defaults to false.
309     bool AbsoluteEHSectionOffsets;
310
311     /// HasLEB128 - True if target asm supports leb128 directives.
312     ///
313     bool HasLEB128; // Defaults to false.
314     
315     /// hasDotLocAndDotFile - True if target asm supports .loc and .file
316     /// directives for emitting debugging information.
317     ///
318     bool HasDotLocAndDotFile; // Defaults to false.
319     
320     /// SupportsDebugInformation - True if target supports emission of debugging
321     /// information.
322     bool SupportsDebugInformation;
323         
324     /// SupportsExceptionHandling - True if target supports
325     /// exception handling.
326     ///
327     bool SupportsExceptionHandling; // Defaults to false.
328     
329     /// RequiresFrameSection - true if the Dwarf2 output needs a frame section
330     ///
331     bool DwarfRequiresFrameSection; // Defaults to true.
332
333     /// GlobalEHDirective - This is the directive used to make exception frame
334     /// tables globally visible.
335     ///
336     const char *GlobalEHDirective;          // Defaults to NULL.
337
338     /// SupportsWeakEmptyEHFrame - True if target assembler and linker will
339     /// handle a weak_definition of constant 0 for an omitted EH frame.
340     bool SupportsWeakOmittedEHFrame;  // Defaults to true.
341
342     /// DwarfSectionOffsetDirective - Special section offset directive.
343     const char* DwarfSectionOffsetDirective; // Defaults to NULL
344     
345     /// DwarfAbbrevSection - Section directive for Dwarf abbrev.
346     ///
347     const char *DwarfAbbrevSection; // Defaults to ".debug_abbrev".
348
349     /// DwarfInfoSection - Section directive for Dwarf info.
350     ///
351     const char *DwarfInfoSection; // Defaults to ".debug_info".
352
353     /// DwarfLineSection - Section directive for Dwarf info.
354     ///
355     const char *DwarfLineSection; // Defaults to ".debug_line".
356     
357     /// DwarfFrameSection - Section directive for Dwarf info.
358     ///
359     const char *DwarfFrameSection; // Defaults to ".debug_frame".
360     
361     /// DwarfPubNamesSection - Section directive for Dwarf info.
362     ///
363     const char *DwarfPubNamesSection; // Defaults to ".debug_pubnames".
364     
365     /// DwarfPubTypesSection - Section directive for Dwarf info.
366     ///
367     const char *DwarfPubTypesSection; // Defaults to ".debug_pubtypes".
368     
369     /// DwarfStrSection - Section directive for Dwarf info.
370     ///
371     const char *DwarfStrSection; // Defaults to ".debug_str".
372
373     /// DwarfLocSection - Section directive for Dwarf info.
374     ///
375     const char *DwarfLocSection; // Defaults to ".debug_loc".
376
377     /// DwarfARangesSection - Section directive for Dwarf info.
378     ///
379     const char *DwarfARangesSection; // Defaults to ".debug_aranges".
380
381     /// DwarfRangesSection - Section directive for Dwarf info.
382     ///
383     const char *DwarfRangesSection; // Defaults to ".debug_ranges".
384
385     /// DwarfMacInfoSection - Section directive for Dwarf info.
386     ///
387     const char *DwarfMacInfoSection; // Defaults to ".debug_macinfo".
388     
389     /// DwarfEHFrameSection - Section directive for Exception frames.
390     ///
391     const char *DwarfEHFrameSection; // Defaults to ".eh_frame".
392     
393     /// DwarfExceptionSection - Section directive for Exception table.
394     ///
395     const char *DwarfExceptionSection; // Defaults to ".gcc_except_table".
396      
397
398     //===--- CBE Asm Translation Table -----------------------------------===//
399
400     const char *const *AsmTransCBE; // Defaults to empty
401
402   public:
403     TargetAsmInfo();
404     virtual ~TargetAsmInfo();
405
406     /// Measure the specified inline asm to determine an approximation of its
407     /// length.
408     virtual unsigned getInlineAsmLength(const char *Str) const;
409
410     /// ExpandInlineAsm - This hook allows the target to expand an inline asm
411     /// call to be explicit llvm code if it wants to.  This is useful for
412     /// turning simple inline asms into LLVM intrinsics, which gives the
413     /// compiler more information about the behavior of the code.
414     virtual bool ExpandInlineAsm(CallInst *CI) const {
415       return false;
416     }
417
418     /// PreferredEHDataFormat - This hook allows the target to select data
419     /// format used for encoding pointers in exception handling data. Reason is
420     /// 0 for data, 1 for code labels, 2 for function pointers. Global is true
421     /// if the symbol can be relocated.
422     virtual unsigned PreferredEHDataFormat(DwarfEncoding::Target Reason,
423                                            bool Global) const;
424     
425     // Accessors.
426     //
427     const char *getTextSection() const {
428       return TextSection;
429     }
430     const char *getDataSection() const {
431       return DataSection;
432     }
433     const char *getBSSSection() const {
434       return BSSSection;
435     }
436     const char *getTLSDataSection() const {
437       return TLSDataSection;
438     }
439     const char *getTLSBSSSection() const {
440       return TLSBSSSection;
441     }
442     const char *getZeroFillDirective() const {
443       return ZeroFillDirective;
444     }
445     const char *getNonexecutableStackDirective() const {
446       return NonexecutableStackDirective;
447     }
448     bool needsSet() const {
449       return NeedsSet;
450     }
451     const char *getPCSymbol() const {
452       return PCSymbol;
453     }
454     char getSeparatorChar() const {
455       return SeparatorChar;
456     }
457     const char *getCommentString() const {
458       return CommentString;
459     }
460     const char *getGlobalPrefix() const {
461       return GlobalPrefix;
462     }
463     const char *getPrivateGlobalPrefix() const {
464       return PrivateGlobalPrefix;
465     }
466     const char *getJumpTableSpecialLabelPrefix() const {
467       return JumpTableSpecialLabelPrefix;
468     }
469     const char *getGlobalVarAddrPrefix() const {
470       return GlobalVarAddrPrefix;
471     }
472     const char *getGlobalVarAddrSuffix() const {
473       return GlobalVarAddrSuffix;
474     }
475     const char *getFunctionAddrPrefix() const {
476       return FunctionAddrPrefix;
477     }
478     const char *getFunctionAddrSuffix() const {
479       return FunctionAddrSuffix;
480     }
481     const char *getPersonalityPrefix() const {
482       return PersonalityPrefix;
483     }
484     const char *getPersonalitySuffix() const {
485       return PersonalitySuffix;
486     }
487     bool getNeedsIndirectEncoding() const {
488       return NeedsIndirectEncoding;
489     }
490     const char *getInlineAsmStart() const {
491       return InlineAsmStart;
492     }
493     const char *getInlineAsmEnd() const {
494       return InlineAsmEnd;
495     }
496     unsigned getAssemblerDialect() const {
497       return AssemblerDialect;
498     }
499     const char *getZeroDirective() const {
500       return ZeroDirective;
501     }
502     const char *getZeroDirectiveSuffix() const {
503       return ZeroDirectiveSuffix;
504     }
505     const char *getAsciiDirective() const {
506       return AsciiDirective;
507     }
508     const char *getAscizDirective() const {
509       return AscizDirective;
510     }
511     const char *getData8bitsDirective() const {
512       return Data8bitsDirective;
513     }
514     const char *getData16bitsDirective() const {
515       return Data16bitsDirective;
516     }
517     const char *getData32bitsDirective() const {
518       return Data32bitsDirective;
519     }
520     const char *getData64bitsDirective() const {
521       return Data64bitsDirective;
522     }
523     const char *getJumpTableDirective() const {
524       return JumpTableDirective;
525     }
526     const char *getAlignDirective() const {
527       return AlignDirective;
528     }
529     bool getAlignmentIsInBytes() const {
530       return AlignmentIsInBytes;
531     }
532     unsigned getTextAlignFillValue() const {
533       return TextAlignFillValue;
534     }
535     const char *getSwitchToSectionDirective() const {
536       return SwitchToSectionDirective;
537     }
538     const char *getTextSectionStartSuffix() const {
539       return TextSectionStartSuffix;
540     }
541     const char *getDataSectionStartSuffix() const {
542       return DataSectionStartSuffix;
543     }
544     const char *getSectionEndDirectiveSuffix() const {
545       return SectionEndDirectiveSuffix;
546     }
547     const char *getConstantPoolSection() const {
548       return ConstantPoolSection;
549     }
550     const char *getJumpTableDataSection() const {
551       return JumpTableDataSection;
552     }
553     const char *getCStringSection() const {
554       return CStringSection;
555     }
556     const char *getStaticCtorsSection() const {
557       return StaticCtorsSection;
558     }
559     const char *getStaticDtorsSection() const {
560       return StaticDtorsSection;
561     }
562     const char *getFourByteConstantSection() const {
563       return FourByteConstantSection;
564     }
565     const char *getEightByteConstantSection() const {
566       return EightByteConstantSection;
567     }
568     const char *getSixteenByteConstantSection() const {
569       return SixteenByteConstantSection;
570     }
571     const char *getReadOnlySection() const {
572       return ReadOnlySection;
573     }
574     const char *getGlobalDirective() const {
575       return GlobalDirective;
576     }
577     const char *getSetDirective() const {
578       return SetDirective;
579     }
580     const char *getLCOMMDirective() const {
581       return LCOMMDirective;
582     }
583     const char *getCOMMDirective() const {
584       return COMMDirective;
585     }
586     bool getCOMMDirectiveTakesAlignment() const {
587       return COMMDirectiveTakesAlignment;
588     }
589     bool hasDotTypeDotSizeDirective() const {
590       return HasDotTypeDotSizeDirective;
591     }
592     const char *getUsedDirective() const {
593       return UsedDirective;
594     }
595     const char *getWeakRefDirective() const {
596       return WeakRefDirective;
597     }
598     const char *getWeakDefDirective() const {
599       return WeakDefDirective;
600     }
601     const char *getHiddenDirective() const {
602       return HiddenDirective;
603     }
604     const char *getProtectedDirective() const {
605       return ProtectedDirective;
606     }
607     bool isAbsoluteDebugSectionOffsets() const {
608       return AbsoluteDebugSectionOffsets;
609     }
610     bool isAbsoluteEHSectionOffsets() const {
611       return AbsoluteEHSectionOffsets;
612     }
613     bool hasLEB128() const {
614       return HasLEB128;
615     }
616     bool hasDotLocAndDotFile() const {
617       return HasDotLocAndDotFile;
618     }
619     bool doesSupportDebugInformation() const {
620       return SupportsDebugInformation;
621     }
622     bool doesSupportExceptionHandling() const {
623       return SupportsExceptionHandling;
624     }
625     bool doesDwarfRequireFrameSection() const {
626       return DwarfRequiresFrameSection;
627     }
628     const char *getGlobalEHDirective() const {
629       return GlobalEHDirective;
630     }
631     bool getSupportsWeakOmittedEHFrame() const {
632       return SupportsWeakOmittedEHFrame;
633     }
634     const char *getDwarfSectionOffsetDirective() const {
635       return DwarfSectionOffsetDirective;
636     }    
637     const char *getDwarfAbbrevSection() const {
638       return DwarfAbbrevSection;
639     }
640     const char *getDwarfInfoSection() const {
641       return DwarfInfoSection;
642     }
643     const char *getDwarfLineSection() const {
644       return DwarfLineSection;
645     }
646     const char *getDwarfFrameSection() const {
647       return DwarfFrameSection;
648     }
649     const char *getDwarfPubNamesSection() const {
650       return DwarfPubNamesSection;
651     }
652     const char *getDwarfPubTypesSection() const {
653       return DwarfPubTypesSection;
654     }
655     const char *getDwarfStrSection() const {
656       return DwarfStrSection;
657     }
658     const char *getDwarfLocSection() const {
659       return DwarfLocSection;
660     }
661     const char *getDwarfARangesSection() const {
662       return DwarfARangesSection;
663     }
664     const char *getDwarfRangesSection() const {
665       return DwarfRangesSection;
666     }
667     const char *getDwarfMacInfoSection() const {
668       return DwarfMacInfoSection;
669     }
670     const char *getDwarfEHFrameSection() const {
671       return DwarfEHFrameSection;
672     }
673     const char *getDwarfExceptionSection() const {
674       return DwarfExceptionSection;
675     }
676     const char *const *getAsmCBE() const {
677       return AsmTransCBE;
678     }
679   };
680 }
681
682 #endif
683