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 | a5eee745acf8fbcccc96bd464c39ec77ed0ba8cb (patch) | |
| tree | 8c028a1c46098cc89bfcdd96ff97edf5e29f2885 /llvm | |
| parent | 21162219b476fff6c92ac4b718ca6af50b5ce456 (diff) | |
| download | bcm5719-llvm-a5eee745acf8fbcccc96bd464c39ec77ed0ba8cb.tar.gz bcm5719-llvm-a5eee745acf8fbcccc96bd464c39ec77ed0ba8cb.zip | |
Allow the AsmInfo to query the TLOF to see if it supports compact unwind.
llvm-svn: 133669
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/include/llvm/Target/TargetAsmInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Target/TargetAsmInfo.h b/llvm/include/llvm/Target/TargetAsmInfo.h index 743a2d47ce9..ad44ada1f86 100644 --- a/llvm/include/llvm/Target/TargetAsmInfo.h +++ b/llvm/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); } |

