aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCharles Davis <cdavis@mines.edu>2011-05-22 00:03:24 +0000
committerCharles Davis <cdavis@mines.edu>2011-05-22 00:03:24 +0000
commitba55b8f3e48e9ac326cdb601768cb1ded9ffefa2 (patch)
tree662bed8f49725b0429ce998573a3c4e052b69b2f
parentf5be7bdc909dae98fab6530c6ab378d6d2618443 (diff)
downloadexternal_llvm-ba55b8f3e48e9ac326cdb601768cb1ded9ffefa2.zip
external_llvm-ba55b8f3e48e9ac326cdb601768cb1ded9ffefa2.tar.gz
external_llvm-ba55b8f3e48e9ac326cdb601768cb1ded9ffefa2.tar.bz2
Allow access to the .pdata and .xdata sections through the TargetAsmInfo
class. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131816 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetAsmInfo.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 1ae94ee..d281328 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -62,6 +62,14 @@ public:
return TLOF->getDwarfFrameSection();
}
+ const MCSection *getWin64EHFuncTableSection() const {
+ return TLOF->getWin64EHFuncTableSection();
+ }
+
+ const MCSection *getWin64EHTableSection() const {
+ return TLOF->getWin64EHTableSection();
+ }
+
unsigned getFDEEncoding(bool CFI) const {
return TLOF->getFDEEncoding(CFI);
}