Don't fill eh frames even though these are text sections.
[oota-llvm.git] / include / llvm / CodeGen / AsmPrinter.h
index 462c401ae0aa87725dca9d0089f3d6fd22194a4e..d1346857006a3eef566518d2e2aebdb6c69da751 100644 (file)
@@ -273,7 +273,10 @@ namespace llvm {
     /// an explicit alignment requested, it will unconditionally override the
     /// alignment request.  However, if ForcedAlignBits is specified, this value
     /// has final say: the ultimate alignment will be the max of ForcedAlignBits
-    /// and the alignment computed with NumBits and the global
+    /// and the alignment computed with NumBits and the global.  If UseFillExpr
+    /// is true, it also emits an optional second value FillValue which the
+    /// assembler uses to fill gaps to match alignment for text sections if the
+    /// has specified a non-zero fill value.
     ///
     /// The algorithm is:
     ///     Align = NumBits;
@@ -281,7 +284,8 @@ namespace llvm {
     ///     Align = std::max(Align, ForcedAlignBits);
     ///
     void EmitAlignment(unsigned NumBits, const GlobalValue *GV = 0,
-                       unsigned ForcedAlignBits = 0) const;
+                       unsigned ForcedAlignBits = 0,
+                       bool UseFillExpr = true) const;
 
     /// printLabel - This method prints a local label used by debug and
     /// exception handling tables.