summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetMachine.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-04-14 17:54:17 +0000
committerDale Johannesen <dalej@apple.com>2008-04-14 17:54:17 +0000
commit876224b1e82a05c6c4923d70bf2ad04cc08f65a9 (patch)
treea11d4f26af8a3d9e59a2c943694b1bb8e6a11741 /llvm/lib/Target/TargetMachine.cpp
parent75ff623e2e119bfeeefb1a3f64fc28b76a5a1572 (diff)
downloadbcm5719-llvm-876224b1e82a05c6c4923d70bf2ad04cc08f65a9.tar.gz
bcm5719-llvm-876224b1e82a05c6c4923d70bf2ad04cc08f65a9.zip
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. llvm-svn: 49663
Diffstat (limited to 'llvm/lib/Target/TargetMachine.cpp')
-rw-r--r--llvm/lib/Target/TargetMachine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/Target/TargetMachine.cpp b/llvm/lib/Target/TargetMachine.cpp
index 6f2f1235d7a..c252368b1a3 100644
--- a/llvm/lib/Target/TargetMachine.cpp
+++ b/llvm/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>
OpenPOWER on IntegriCloud