aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-04-08 00:10:24 +0000
committerDale Johannesen <dalej@apple.com>2008-04-08 00:10:24 +0000
commit4e1b79459fcf72216cdc42a59953e172c60e15ca (patch)
tree6d330b1c9b9699f92a180db1468821d536b70cc8 /include
parent9b01cc0ede3bfef32ce46159670dedc3e9769a64 (diff)
Implement new llc flag -disable-required-unwind-tables.
Corresponds to -fno-unwind-tables (usually default in gcc). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49361 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Target/TargetOptions.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetOptions.h b/include/llvm/Target/TargetOptions.h
index 72bb272015..881ec21a0a 100644
--- a/include/llvm/Target/TargetOptions.h
+++ b/include/llvm/Target/TargetOptions.h
@@ -74,13 +74,18 @@ namespace llvm {
/// be emitted.
extern bool ExceptionHandling;
+ /// UnwindTablesOptional - This flag indicates that unwind tables need not
+ /// be emitted for all functions. Exception handling may still require them
+ /// for some functions.
+ extern bool UnwindTablesOptional;
+
/// PerformTailCallOpt - This flag is enabled when -tailcallopt is specified
/// on the commandline. When the flag is on, the target will perform tail call
/// optimization (pop the caller's stack) providing it supports it.
extern bool PerformTailCallOpt;
- /// OptimizeForSize - When this flags is set, code generator avoids optimization
- /// that increases size.
+ /// OptimizeForSize - When this flag is set, the code generator avoids
+ /// optimizations that increase size.
extern bool OptimizeForSize;
} // End llvm namespace