From de0cea7e495849659a079ddcec8e299cbbcad90a Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 23 Jun 2011 00:12:58 +0000 Subject: [PATCH] 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 --- include/llvm/Target/TargetAsmInfo.h | 4 ++++ 1 file changed, 4 insertions(+) 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); }