Allow the AsmInfo to query the TLOF to see if it supports compact unwind.
authorBill Wendling <isanbard@gmail.com>
Thu, 23 Jun 2011 00:12:58 +0000 (00:12 +0000)
committerBill Wendling <isanbard@gmail.com>
Thu, 23 Jun 2011 00:12:58 +0000 (00:12 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133669 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Target/TargetAsmInfo.h

index 743a2d47ce972e2fb01e4d21103f11ada21be43a..ad44ada1f86fa5c25519fb4e9aeaf05f3a23ad47 100644 (file)
@@ -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);
   }