From: Bill Wendling Date: Thu, 23 Jun 2011 00:12:58 +0000 (+0000) Subject: Allow the AsmInfo to query the TLOF to see if it supports compact unwind. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=de0cea7e495849659a079ddcec8e299cbbcad90a;p=oota-llvm.git 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 --- diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h index 743a2d47ce9..ad44ada1f86 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); }