aboutsummaryrefslogtreecommitdiff
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
commitde0cea7e495849659a079ddcec8e299cbbcad90a (patch)
treee6ecb508fc08a05bef92853f37915fa403365c7e
parent3f2ea825bdf8cbe002ac542a5bdd775bd30470c9 (diff)
Allow the AsmInfo to query the TLOF to see if it supports compact unwind.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133669 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetAsmInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 743a2d47ce..ad44ada1f8 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/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);
}