aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-02-29 19:36:59 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-02-29 19:36:59 +0000
commit05548eb174dd694b651de334b73197a62e5071f1 (patch)
treed2525f7fce717bd26c25097a95d63f77cb3acccf /include/llvm/CodeGen
parent84e5f77880685d6e03d76474ae722a9f3aca1384 (diff)
downloadexternal_llvm-05548eb174dd694b651de334b73197a62e5071f1.zip
external_llvm-05548eb174dd694b651de334b73197a62e5071f1.tar.gz
external_llvm-05548eb174dd694b651de334b73197a62e5071f1.tar.bz2
Don't fill eh frames even though these are text sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 462c401..d134685 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -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.