From 533c9ac02196fbb911d90e129631ed7c97d9c449 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 23 Jun 2011 00:23:04 +0000 Subject: [PATCH] Allow the AsmInfo to query for the compact unwind section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133670 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 ad44ada1f86..1dc725a8933 100644 --- a/include/llvm/Target/TargetAsmInfo.h +++ b/include/llvm/Target/TargetAsmInfo.h @@ -59,6 +59,10 @@ public: return TLOF->getEHFrameSection(); } + const MCSection *getCompactUnwindSection() const { + return TLOF->getCompactUnwindSection(); + } + const MCSection *getDwarfFrameSection() const { return TLOF->getDwarfFrameSection(); }