LLVM  mainline
MCAsmInfo.h
Go to the documentation of this file.
00001 //===-- llvm/MC/MCAsmInfo.h - Asm info --------------------------*- C++ -*-===//
00002 //
00003 //                     The LLVM Compiler Infrastructure
00004 //
00005 // This file is distributed under the University of Illinois Open Source
00006 // License. See LICENSE.TXT for details.
00007 //
00008 //===----------------------------------------------------------------------===//
00009 //
00010 // This file contains a class to be used as the basis for target specific
00011 // asm writers.  This class primarily takes care of global printing constants,
00012 // which are used in very similar ways across all targets.
00013 //
00014 //===----------------------------------------------------------------------===//
00015 
00016 #ifndef LLVM_MC_MCASMINFO_H
00017 #define LLVM_MC_MCASMINFO_H
00018 
00019 #include "llvm/MC/MCDirectives.h"
00020 #include "llvm/MC/MCDwarf.h"
00021 #include <cassert>
00022 #include <vector>
00023 
00024 namespace llvm {
00025 class MCExpr;
00026 class MCSection;
00027 class MCStreamer;
00028 class MCSymbol;
00029 class MCContext;
00030 
00031 namespace WinEH {
00032 enum class EncodingType {
00033   Invalid, /// Invalid
00034   Alpha,   /// Windows Alpha
00035   Alpha64, /// Windows AXP64
00036   ARM,     /// Windows NT (Windows on ARM)
00037   CE,      /// Windows CE ARM, PowerPC, SH3, SH4
00038   Itanium, /// Windows x64, Windows Itanium (IA-64)
00039   X86,     /// Windows x86, uses no CFI, just EH tables
00040   MIPS = Alpha,
00041 };
00042 }
00043 
00044 enum class ExceptionHandling {
00045   None,     /// No exception support
00046   DwarfCFI, /// DWARF-like instruction based exceptions
00047   SjLj,     /// setjmp/longjmp based exceptions
00048   ARM,      /// ARM EHABI
00049   WinEH,    /// Windows Exception Handling
00050 };
00051 
00052 namespace LCOMM {
00053 enum LCOMMType { NoAlignment, ByteAlignment, Log2Alignment };
00054 }
00055 
00056 /// This class is intended to be used as a base class for asm
00057 /// properties and features specific to the target.
00058 class MCAsmInfo {
00059 protected:
00060   //===------------------------------------------------------------------===//
00061   // Properties to be set by the target writer, used to configure asm printer.
00062   //
00063 
00064   /// Pointer size in bytes.  Default is 4.
00065   unsigned PointerSize;
00066 
00067   /// Size of the stack slot reserved for callee-saved registers, in bytes.
00068   /// Default is same as pointer size.
00069   unsigned CalleeSaveStackSlotSize;
00070 
00071   /// True if target is little endian.  Default is true.
00072   bool IsLittleEndian;
00073 
00074   /// True if target stack grow up.  Default is false.
00075   bool StackGrowsUp;
00076 
00077   /// True if this target has the MachO .subsections_via_symbols directive.
00078   /// Default is false.
00079   bool HasSubsectionsViaSymbols;
00080 
00081   /// True if this is a MachO target that supports the macho-specific .zerofill
00082   /// directive for emitting BSS Symbols.  Default is false.
00083   bool HasMachoZeroFillDirective;
00084 
00085   /// True if this is a MachO target that supports the macho-specific .tbss
00086   /// directive for emitting thread local BSS Symbols.  Default is false.
00087   bool HasMachoTBSSDirective;
00088 
00089   /// True if the compiler should emit a ".reference .constructors_used" or
00090   /// ".reference .destructors_used" directive after the static ctor/dtor
00091   /// list.  This directive is only emitted in Static relocation model.  Default
00092   /// is false.
00093   bool HasStaticCtorDtorReferenceInStaticMode;
00094 
00095   /// This is the maximum possible length of an instruction, which is needed to
00096   /// compute the size of an inline asm.  Defaults to 4.
00097   unsigned MaxInstLength;
00098 
00099   /// Every possible instruction length is a multiple of this value.  Factored
00100   /// out in .debug_frame and .debug_line.  Defaults to 1.
00101   unsigned MinInstAlignment;
00102 
00103   /// The '$' token, when not referencing an identifier or constant, refers to
00104   /// the current PC.  Defaults to false.
00105   bool DollarIsPC;
00106 
00107   /// This string, if specified, is used to separate instructions from each
00108   /// other when on the same line.  Defaults to ';'
00109   const char *SeparatorString;
00110 
00111   /// This indicates the comment character used by the assembler.  Defaults to
00112   /// "#"
00113   const char *CommentString;
00114 
00115   /// This is appended to emitted labels.  Defaults to ":"
00116   const char *LabelSuffix;
00117 
00118   // Print the EH begin symbol with an assignment. Defaults to false.
00119   bool UseAssignmentForEHBegin;
00120 
00121   // Do we need to create a local symbol for .size?
00122   bool NeedsLocalForSize;
00123 
00124   /// This prefix is used for globals like constant pool entries that are
00125   /// completely private to the .s file and should not have names in the .o
00126   /// file.  Defaults to "L"
00127   const char *PrivateGlobalPrefix;
00128 
00129   /// This prefix is used for labels for basic blocks. Defaults to the same as
00130   /// PrivateGlobalPrefix.
00131   const char *PrivateLabelPrefix;
00132 
00133   /// This prefix is used for symbols that should be passed through the
00134   /// assembler but be removed by the linker.  This is 'l' on Darwin, currently
00135   /// used for some ObjC metadata.  The default of "" meast that for this system
00136   /// a plain private symbol should be used.  Defaults to "".
00137   const char *LinkerPrivateGlobalPrefix;
00138 
00139   /// If these are nonempty, they contain a directive to emit before and after
00140   /// an inline assembly statement.  Defaults to "#APP\n", "#NO_APP\n"
00141   const char *InlineAsmStart;
00142   const char *InlineAsmEnd;
00143 
00144   /// These are assembly directives that tells the assembler to interpret the
00145   /// following instructions differently.  Defaults to ".code16", ".code32",
00146   /// ".code64".
00147   const char *Code16Directive;
00148   const char *Code32Directive;
00149   const char *Code64Directive;
00150 
00151   /// Which dialect of an assembler variant to use.  Defaults to 0
00152   unsigned AssemblerDialect;
00153 
00154   /// This is true if the assembler allows @ characters in symbol names.
00155   /// Defaults to false.
00156   bool AllowAtInName;
00157 
00158   /// If this is true, symbol names with invalid characters will be printed in
00159   /// quotes.
00160   bool SupportsQuotedNames;
00161 
00162   /// This is true if data region markers should be printed as
00163   /// ".data_region/.end_data_region" directives. If false, use "$d/$a" labels
00164   /// instead.
00165   bool UseDataRegionDirectives;
00166 
00167   //===--- Data Emission Directives -------------------------------------===//
00168 
00169   /// This should be set to the directive used to get some number of zero bytes
00170   /// emitted to the current section.  Common cases are "\t.zero\t" and
00171   /// "\t.space\t".  If this is set to null, the Data*bitsDirective's will be
00172   /// used to emit zero bytes.  Defaults to "\t.zero\t"
00173   const char *ZeroDirective;
00174 
00175   /// This directive allows emission of an ascii string with the standard C
00176   /// escape characters embedded into it.  Defaults to "\t.ascii\t"
00177   const char *AsciiDirective;
00178 
00179   /// If not null, this allows for special handling of zero terminated strings
00180   /// on this target.  This is commonly supported as ".asciz".  If a target
00181   /// doesn't support this, it can be set to null.  Defaults to "\t.asciz\t"
00182   const char *AscizDirective;
00183 
00184   /// These directives are used to output some unit of integer data to the
00185   /// current section.  If a data directive is set to null, smaller data
00186   /// directives will be used to emit the large sizes.  Defaults to "\t.byte\t",
00187   /// "\t.short\t", "\t.long\t", "\t.quad\t"
00188   const char *Data8bitsDirective;
00189   const char *Data16bitsDirective;
00190   const char *Data32bitsDirective;
00191   const char *Data64bitsDirective;
00192 
00193   /// If non-null, a directive that is used to emit a word which should be
00194   /// relocated as a 64-bit GP-relative offset, e.g. .gpdword on Mips.  Defaults
00195   /// to NULL.
00196   const char *GPRel64Directive;
00197 
00198   /// If non-null, a directive that is used to emit a word which should be
00199   /// relocated as a 32-bit GP-relative offset, e.g. .gpword on Mips or .gprel32
00200   /// on Alpha.  Defaults to NULL.
00201   const char *GPRel32Directive;
00202 
00203   /// This is true if this target uses "Sun Style" syntax for section switching
00204   /// ("#alloc,#write" etc) instead of the normal ELF syntax (,"a,w") in
00205   /// .section directives.  Defaults to false.
00206   bool SunStyleELFSectionSwitchSyntax;
00207 
00208   /// This is true if this target uses ELF '.section' directive before the
00209   /// '.bss' one. It's used for PPC/Linux which doesn't support the '.bss'
00210   /// directive only.  Defaults to false.
00211   bool UsesELFSectionDirectiveForBSS;
00212 
00213   bool NeedsDwarfSectionOffsetDirective;
00214 
00215   //===--- Alignment Information ----------------------------------------===//
00216 
00217   /// If this is true (the default) then the asmprinter emits ".align N"
00218   /// directives, where N is the number of bytes to align to.  Otherwise, it
00219   /// emits ".align log2(N)", e.g. 3 to align to an 8 byte boundary.  Defaults
00220   /// to true.
00221   bool AlignmentIsInBytes;
00222 
00223   /// If non-zero, this is used to fill the executable space created as the
00224   /// result of a alignment directive.  Defaults to 0
00225   unsigned TextAlignFillValue;
00226 
00227   //===--- Global Variable Emission Directives --------------------------===//
00228 
00229   /// This is the directive used to declare a global entity. Defaults to
00230   /// ".globl".
00231   const char *GlobalDirective;
00232 
00233   /// True if the expression
00234   ///   .long f - g
00235   /// uses a relocation but it can be suppressed by writing
00236   ///   a = f - g
00237   ///   .long a
00238   bool SetDirectiveSuppressesReloc;
00239 
00240   /// False if the assembler requires that we use
00241   /// \code
00242   ///   Lc = a - b
00243   ///   .long Lc
00244   /// \endcode
00245   //
00246   /// instead of
00247   //
00248   /// \code
00249   ///   .long a - b
00250   /// \endcode
00251   ///
00252   ///  Defaults to true.
00253   bool HasAggressiveSymbolFolding;
00254 
00255   /// True is .comm's and .lcomms optional alignment is to be specified in bytes
00256   /// instead of log2(n).  Defaults to true.
00257   bool COMMDirectiveAlignmentIsInBytes;
00258 
00259   /// Describes if the .lcomm directive for the target supports an alignment
00260   /// argument and how it is interpreted.  Defaults to NoAlignment.
00261   LCOMM::LCOMMType LCOMMDirectiveAlignmentType;
00262 
00263   // True if the target allows .align directives on functions. This is true for
00264   // most targets, so defaults to true.
00265   bool HasFunctionAlignment;
00266 
00267   /// True if the target has .type and .size directives, this is true for most
00268   /// ELF targets.  Defaults to true.
00269   bool HasDotTypeDotSizeDirective;
00270 
00271   /// True if the target has a single parameter .file directive, this is true
00272   /// for ELF targets.  Defaults to true.
00273   bool HasSingleParameterDotFile;
00274 
00275   /// True if the target has a .ident directive, this is true for ELF targets.
00276   /// Defaults to false.
00277   bool HasIdentDirective;
00278 
00279   /// True if this target supports the MachO .no_dead_strip directive.  Defaults
00280   /// to false.
00281   bool HasNoDeadStrip;
00282 
00283   /// Used to declare a global as being a weak symbol. Defaults to ".weak".
00284   const char *WeakDirective;
00285 
00286   /// This directive, if non-null, is used to declare a global as being a weak
00287   /// undefined symbol.  Defaults to NULL.
00288   const char *WeakRefDirective;
00289 
00290   /// True if we have a directive to declare a global as being a weak defined
00291   /// symbol.  Defaults to false.
00292   bool HasWeakDefDirective;
00293 
00294   /// True if we have a directive to declare a global as being a weak defined
00295   /// symbol that can be hidden (unexported).  Defaults to false.
00296   bool HasWeakDefCanBeHiddenDirective;
00297 
00298   /// True if we have a .linkonce directive.  This is used on cygwin/mingw.
00299   /// Defaults to false.
00300   bool HasLinkOnceDirective;
00301 
00302   /// This attribute, if not MCSA_Invalid, is used to declare a symbol as having
00303   /// hidden visibility.  Defaults to MCSA_Hidden.
00304   MCSymbolAttr HiddenVisibilityAttr;
00305 
00306   /// This attribute, if not MCSA_Invalid, is used to declare an undefined
00307   /// symbol as having hidden visibility. Defaults to MCSA_Hidden.
00308   MCSymbolAttr HiddenDeclarationVisibilityAttr;
00309 
00310   /// This attribute, if not MCSA_Invalid, is used to declare a symbol as having
00311   /// protected visibility.  Defaults to MCSA_Protected
00312   MCSymbolAttr ProtectedVisibilityAttr;
00313 
00314   //===--- Dwarf Emission Directives -----------------------------------===//
00315 
00316   /// True if target supports emission of debugging information.  Defaults to
00317   /// false.
00318   bool SupportsDebugInformation;
00319 
00320   /// Exception handling format for the target.  Defaults to None.
00321   ExceptionHandling ExceptionsType;
00322 
00323   /// Windows exception handling data (.pdata) encoding.  Defaults to Invalid.
00324   WinEH::EncodingType WinEHEncodingType;
00325 
00326   /// True if Dwarf2 output generally uses relocations for references to other
00327   /// .debug_* sections.
00328   bool DwarfUsesRelocationsAcrossSections;
00329 
00330   /// True if DWARF FDE symbol reference relocations should be replaced by an
00331   /// absolute difference.
00332   bool DwarfFDESymbolsUseAbsDiff;
00333 
00334   /// True if dwarf register numbers are printed instead of symbolic register
00335   /// names in .cfi_* directives.  Defaults to false.
00336   bool DwarfRegNumForCFI;
00337 
00338   /// True if target uses parens to indicate the symbol variant instead of @.
00339   /// For example, foo(plt) instead of foo@plt.  Defaults to false.
00340   bool UseParensForSymbolVariant;
00341 
00342   //===--- Prologue State ----------------------------------------------===//
00343 
00344   std::vector<MCCFIInstruction> InitialFrameState;
00345 
00346   //===--- Integrated Assembler Information ----------------------------===//
00347 
00348   /// Should we use the integrated assembler?
00349   /// The integrated assembler should be enabled by default (by the
00350   /// constructors) when failing to parse a valid piece of assembly (inline
00351   /// or otherwise) is considered a bug. It may then be overridden after
00352   /// construction (see LLVMTargetMachine::initAsmInfo()).
00353   bool UseIntegratedAssembler;
00354 
00355   /// Compress DWARF debug sections. Defaults to false.
00356   bool CompressDebugSections;
00357 
00358   /// True if the integrated assembler should interpret 'a >> b' constant
00359   /// expressions as logical rather than arithmetic.
00360   bool UseLogicalShr;
00361 
00362 public:
00363   explicit MCAsmInfo();
00364   virtual ~MCAsmInfo();
00365 
00366   /// Get the pointer size in bytes.
00367   unsigned getPointerSize() const { return PointerSize; }
00368 
00369   /// Get the callee-saved register stack slot
00370   /// size in bytes.
00371   unsigned getCalleeSaveStackSlotSize() const {
00372     return CalleeSaveStackSlotSize;
00373   }
00374 
00375   /// True if the target is little endian.
00376   bool isLittleEndian() const { return IsLittleEndian; }
00377 
00378   /// True if target stack grow up.
00379   bool isStackGrowthDirectionUp() const { return StackGrowsUp; }
00380 
00381   bool hasSubsectionsViaSymbols() const { return HasSubsectionsViaSymbols; }
00382 
00383   // Data directive accessors.
00384 
00385   const char *getData8bitsDirective() const { return Data8bitsDirective; }
00386   const char *getData16bitsDirective() const { return Data16bitsDirective; }
00387   const char *getData32bitsDirective() const { return Data32bitsDirective; }
00388   const char *getData64bitsDirective() const { return Data64bitsDirective; }
00389   const char *getGPRel64Directive() const { return GPRel64Directive; }
00390   const char *getGPRel32Directive() const { return GPRel32Directive; }
00391 
00392   /// Targets can implement this method to specify a section to switch to if the
00393   /// translation unit doesn't have any trampolines that require an executable
00394   /// stack.
00395   virtual MCSection *getNonexecutableStackSection(MCContext &Ctx) const {
00396     return nullptr;
00397   }
00398 
00399   /// \brief True if the section is atomized using the symbols in it.
00400   /// This is false if the section is not atomized at all (most ELF sections) or
00401   /// if it is atomized based on its contents (MachO' __TEXT,__cstring for
00402   /// example).
00403   virtual bool isSectionAtomizableBySymbols(const MCSection &Section) const;
00404 
00405   virtual const MCExpr *getExprForPersonalitySymbol(const MCSymbol *Sym,
00406                                                     unsigned Encoding,
00407                                                     MCStreamer &Streamer) const;
00408 
00409   virtual const MCExpr *getExprForFDESymbol(const MCSymbol *Sym,
00410                                             unsigned Encoding,
00411                                             MCStreamer &Streamer) const;
00412 
00413   /// Return true if the identifier \p Name does not need quotes to be
00414   /// syntactically correct.
00415   virtual bool isValidUnquotedName(StringRef Name) const;
00416 
00417   bool usesSunStyleELFSectionSwitchSyntax() const {
00418     return SunStyleELFSectionSwitchSyntax;
00419   }
00420 
00421   bool usesELFSectionDirectiveForBSS() const {
00422     return UsesELFSectionDirectiveForBSS;
00423   }
00424 
00425   bool needsDwarfSectionOffsetDirective() const {
00426     return NeedsDwarfSectionOffsetDirective;
00427   }
00428 
00429   // Accessors.
00430 
00431   bool hasMachoZeroFillDirective() const { return HasMachoZeroFillDirective; }
00432   bool hasMachoTBSSDirective() const { return HasMachoTBSSDirective; }
00433   bool hasStaticCtorDtorReferenceInStaticMode() const {
00434     return HasStaticCtorDtorReferenceInStaticMode;
00435   }
00436   unsigned getMaxInstLength() const { return MaxInstLength; }
00437   unsigned getMinInstAlignment() const { return MinInstAlignment; }
00438   bool getDollarIsPC() const { return DollarIsPC; }
00439   const char *getSeparatorString() const { return SeparatorString; }
00440 
00441   /// This indicates the column (zero-based) at which asm comments should be
00442   /// printed.
00443   unsigned getCommentColumn() const { return 40; }
00444 
00445   const char *getCommentString() const { return CommentString; }
00446   const char *getLabelSuffix() const { return LabelSuffix; }
00447 
00448   bool useAssignmentForEHBegin() const { return UseAssignmentForEHBegin; }
00449   bool needsLocalForSize() const { return NeedsLocalForSize; }
00450   const char *getPrivateGlobalPrefix() const { return PrivateGlobalPrefix; }
00451   const char *getPrivateLabelPrefix() const { return PrivateLabelPrefix; }
00452   bool hasLinkerPrivateGlobalPrefix() const {
00453     return LinkerPrivateGlobalPrefix[0] != '\0';
00454   }
00455   const char *getLinkerPrivateGlobalPrefix() const {
00456     if (hasLinkerPrivateGlobalPrefix())
00457       return LinkerPrivateGlobalPrefix;
00458     return getPrivateGlobalPrefix();
00459   }
00460   const char *getInlineAsmStart() const { return InlineAsmStart; }
00461   const char *getInlineAsmEnd() const { return InlineAsmEnd; }
00462   const char *getCode16Directive() const { return Code16Directive; }
00463   const char *getCode32Directive() const { return Code32Directive; }
00464   const char *getCode64Directive() const { return Code64Directive; }
00465   unsigned getAssemblerDialect() const { return AssemblerDialect; }
00466   bool doesAllowAtInName() const { return AllowAtInName; }
00467   bool supportsNameQuoting() const { return SupportsQuotedNames; }
00468   bool doesSupportDataRegionDirectives() const {
00469     return UseDataRegionDirectives;
00470   }
00471   const char *getZeroDirective() const { return ZeroDirective; }
00472   const char *getAsciiDirective() const { return AsciiDirective; }
00473   const char *getAscizDirective() const { return AscizDirective; }
00474   bool getAlignmentIsInBytes() const { return AlignmentIsInBytes; }
00475   unsigned getTextAlignFillValue() const { return TextAlignFillValue; }
00476   const char *getGlobalDirective() const { return GlobalDirective; }
00477   bool doesSetDirectiveSuppressesReloc() const {
00478     return SetDirectiveSuppressesReloc;
00479   }
00480   bool hasAggressiveSymbolFolding() const { return HasAggressiveSymbolFolding; }
00481   bool getCOMMDirectiveAlignmentIsInBytes() const {
00482     return COMMDirectiveAlignmentIsInBytes;
00483   }
00484   LCOMM::LCOMMType getLCOMMDirectiveAlignmentType() const {
00485     return LCOMMDirectiveAlignmentType;
00486   }
00487   bool hasFunctionAlignment() const { return HasFunctionAlignment; }
00488   bool hasDotTypeDotSizeDirective() const { return HasDotTypeDotSizeDirective; }
00489   bool hasSingleParameterDotFile() const { return HasSingleParameterDotFile; }
00490   bool hasIdentDirective() const { return HasIdentDirective; }
00491   bool hasNoDeadStrip() const { return HasNoDeadStrip; }
00492   const char *getWeakDirective() const { return WeakDirective; }
00493   const char *getWeakRefDirective() const { return WeakRefDirective; }
00494   bool hasWeakDefDirective() const { return HasWeakDefDirective; }
00495   bool hasWeakDefCanBeHiddenDirective() const {
00496     return HasWeakDefCanBeHiddenDirective;
00497   }
00498   bool hasLinkOnceDirective() const { return HasLinkOnceDirective; }
00499 
00500   MCSymbolAttr getHiddenVisibilityAttr() const { return HiddenVisibilityAttr; }
00501   MCSymbolAttr getHiddenDeclarationVisibilityAttr() const {
00502     return HiddenDeclarationVisibilityAttr;
00503   }
00504   MCSymbolAttr getProtectedVisibilityAttr() const {
00505     return ProtectedVisibilityAttr;
00506   }
00507   bool doesSupportDebugInformation() const { return SupportsDebugInformation; }
00508   bool doesSupportExceptionHandling() const {
00509     return ExceptionsType != ExceptionHandling::None;
00510   }
00511   ExceptionHandling getExceptionHandlingType() const { return ExceptionsType; }
00512   WinEH::EncodingType getWinEHEncodingType() const { return WinEHEncodingType; }
00513 
00514   /// Returns true if the exception handling method for the platform uses call
00515   /// frame information to unwind.
00516   bool usesCFIForEH() const {
00517     return (ExceptionsType == ExceptionHandling::DwarfCFI ||
00518             ExceptionsType == ExceptionHandling::ARM || usesWindowsCFI());
00519   }
00520 
00521   bool usesWindowsCFI() const {
00522     return ExceptionsType == ExceptionHandling::WinEH &&
00523            (WinEHEncodingType != WinEH::EncodingType::Invalid &&
00524             WinEHEncodingType != WinEH::EncodingType::X86);
00525   }
00526 
00527   bool doesDwarfUseRelocationsAcrossSections() const {
00528     return DwarfUsesRelocationsAcrossSections;
00529   }
00530   bool doDwarfFDESymbolsUseAbsDiff() const { return DwarfFDESymbolsUseAbsDiff; }
00531   bool useDwarfRegNumForCFI() const { return DwarfRegNumForCFI; }
00532   bool useParensForSymbolVariant() const { return UseParensForSymbolVariant; }
00533 
00534   void addInitialFrameState(const MCCFIInstruction &Inst) {
00535     InitialFrameState.push_back(Inst);
00536   }
00537 
00538   const std::vector<MCCFIInstruction> &getInitialFrameState() const {
00539     return InitialFrameState;
00540   }
00541 
00542   /// Return true if assembly (inline or otherwise) should be parsed.
00543   bool useIntegratedAssembler() const { return UseIntegratedAssembler; }
00544 
00545   /// Set whether assembly (inline or otherwise) should be parsed.
00546   virtual void setUseIntegratedAssembler(bool Value) {
00547     UseIntegratedAssembler = Value;
00548   }
00549 
00550   bool compressDebugSections() const { return CompressDebugSections; }
00551 
00552   void setCompressDebugSections(bool CompressDebugSections) {
00553     this->CompressDebugSections = CompressDebugSections;
00554   }
00555 
00556   bool shouldUseLogicalShr() const { return UseLogicalShr; }
00557 };
00558 }
00559 
00560 #endif