diff options
author | Dale Johannesen <dalej@apple.com> | 2008-04-14 17:54:17 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-04-14 17:54:17 +0000 |
commit | 3541af73b6b8a083cf2d7784438d60e8bcce3883 (patch) | |
tree | 32d74280a098233806b9be1892de720a7d2275f5 /lib/Target/TargetMachine.cpp | |
parent | ec1f1a8bd2db222548ec74458c6053124b3fc367 (diff) |
Reverse sense of unwind-tables option. This means
stack tracebacks on Darwin x86-64 won't work by default;
nevertheless, everybody but me thinks this is a good idea.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49663 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/TargetMachine.cpp')
-rw-r--r-- | lib/Target/TargetMachine.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 6f2f1235d7..c252368b1a 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -31,7 +31,7 @@ namespace llvm { bool UseSoftFloat; bool NoZerosInBSS; bool ExceptionHandling; - bool UnwindTablesOptional; + bool UnwindTablesMandatory; Reloc::Model RelocationModel; CodeModel::Model CMModel; bool PerformTailCallOpt; @@ -85,9 +85,9 @@ namespace { cl::location(ExceptionHandling), cl::init(false)); cl::opt<bool, true> - DisableUnwindTables("unwind-tables-optional", - cl::desc("Generate unwinding tables only for functions that require them"), - cl::location(UnwindTablesOptional), + EnableUnwindTables("unwind-tables", + cl::desc("Generate unwinding tables for all functions"), + cl::location(UnwindTablesMandatory), cl::init(false)); cl::opt<llvm::Reloc::Model, true> |