summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2011-06-23 00:12:58 +0000
committerBill Wendling <isanbard@gmail.com>2011-06-23 00:12:58 +0000
commita5eee745acf8fbcccc96bd464c39ec77ed0ba8cb (patch)
tree8c028a1c46098cc89bfcdd96ff97edf5e29f2885 /llvm
parent21162219b476fff6c92ac4b718ca6af50b5ce456 (diff)
downloadbcm5719-llvm-a5eee745acf8fbcccc96bd464c39ec77ed0ba8cb.tar.gz
bcm5719-llvm-a5eee745acf8fbcccc96bd464c39ec77ed0ba8cb.zip
Allow the AsmInfo to query the TLOF to see if it supports compact unwind.
llvm-svn: 133669
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Target/TargetAsmInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Target/TargetAsmInfo.h b/llvm/include/llvm/Target/TargetAsmInfo.h
index 743a2d47ce9..ad44ada1f86 100644
--- a/llvm/include/llvm/Target/TargetAsmInfo.h
+++ b/llvm/include/llvm/Target/TargetAsmInfo.h
@@ -79,6 +79,10 @@ public:
return TLOF->isFunctionEHFrameSymbolPrivate();
}
+ bool getSupportsCompactUnwindInfo() const {
+ return TLOF->getSupportsCompactUnwindInfo();
+ }
+
const unsigned *getCalleeSavedRegs(MachineFunction *MF = 0) const {
return TRI->getCalleeSavedRegs(MF);
}
OpenPOWER on IntegriCloud