aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/XCore/MCTargetDesc
diff options
context:
space:
mode:
authorRobert Lytton <robert@xmos.com>2013-11-13 10:19:31 +0000
committerRobert Lytton <robert@xmos.com>2013-11-13 10:19:31 +0000
commit8b99622b9b0902c709a33a07efb3461bc7830852 (patch)
tree738227a4eac70e161aabed2e0a7dbb786bd6173b /lib/Target/XCore/MCTargetDesc
parentcb92f8ecc9d94f6647fdbb7ffbe783b009344009 (diff)
downloadexternal_llvm-8b99622b9b0902c709a33a07efb3461bc7830852.zip
external_llvm-8b99622b9b0902c709a33a07efb3461bc7830852.tar.gz
external_llvm-8b99622b9b0902c709a33a07efb3461bc7830852.tar.bz2
XCore target: implement exception handling
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194564 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/XCore/MCTargetDesc')
-rw-r--r--lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp b/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
index 720cb18..3d1c474 100644
--- a/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
+++ b/lib/Target/XCore/MCTargetDesc/XCoreMCAsmInfo.cpp
@@ -30,5 +30,7 @@ XCoreMCAsmInfo::XCoreMCAsmInfo(StringRef TT) {
// Debug
HasLEB128 = true;
+ ExceptionsType = ExceptionHandling::DwarfCFI;
+ DwarfRegNumForCFI = true;
}