summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LLVMTargetMachine.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2011-01-14 21:58:08 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2011-01-14 21:58:08 +0000
commit9be547cfd3747e30963204187a99b59a11668cc7 (patch)
tree1cfd4a2a1d8717fea5879b5886680c8ac3fcb405 /llvm/lib/CodeGen/LLVMTargetMachine.cpp
parent4d9de6be4b56c0c625e32492f2d9e69e681aa49f (diff)
downloadbcm5719-llvm-9be547cfd3747e30963204187a99b59a11668cc7.tar.gz
bcm5719-llvm-9be547cfd3747e30963204187a99b59a11668cc7.zip
Add a possibility to switch between CFI directives- and table-based frame description emission. Currently all the backends use table-based stuff.
llvm-svn: 123476
Diffstat (limited to 'llvm/lib/CodeGen/LLVMTargetMachine.cpp')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index d310b14ae42..5cff96db736 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -301,7 +301,8 @@ bool LLVMTargetMachine::addCommonCodeGenPasses(PassManagerBase &PM,
// edge from elsewhere.
PM.add(createSjLjEHPass(getTargetLowering()));
// FALLTHROUGH
- case ExceptionHandling::Dwarf:
+ case ExceptionHandling::DwarfCFI:
+ case ExceptionHandling::DwarfTable:
PM.add(createDwarfEHPass(this));
break;
case ExceptionHandling::None:
OpenPOWER on IntegriCloud