diff options
author | Bill Wendling <isanbard@gmail.com> | 2011-06-23 00:12:58 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2011-06-23 00:12:58 +0000 |
commit | de0cea7e495849659a079ddcec8e299cbbcad90a (patch) | |
tree | e6ecb508fc08a05bef92853f37915fa403365c7e | |
parent | 3f2ea825bdf8cbe002ac542a5bdd775bd30470c9 (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.h | 4 |
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); } |