diff options
author | Charles Davis <cdavis@mines.edu> | 2011-05-20 22:13:55 +0000 |
---|---|---|
committer | Charles Davis <cdavis@mines.edu> | 2011-05-20 22:13:55 +0000 |
commit | f3ffc2cd76267b7901088ec5e46e875a2701bda9 (patch) | |
tree | 5419e15c981ab1c92ddac1fd805ef238427059e9 /include/llvm/CodeGen/TargetLoweringObjectFileImpl.h | |
parent | 958b68140e08df76e1b8f3287cd0a24d0fb35734 (diff) | |
download | llvm-f3ffc2cd76267b7901088ec5e46e875a2701bda9.tar.gz llvm-f3ffc2cd76267b7901088ec5e46e875a2701bda9.tar.bz2 llvm-f3ffc2cd76267b7901088ec5e46e875a2701bda9.tar.xz |
Add .pdata and .xdata sections to the COFF TLOF implementation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131763 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/TargetLoweringObjectFileImpl.h')
-rw-r--r-- | include/llvm/CodeGen/TargetLoweringObjectFileImpl.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h index 829f580df3..c61cf399f8 100644 --- a/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h +++ b/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h @@ -58,6 +58,8 @@ public: virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); virtual const MCSection *getEHFrameSection() const; + virtual const MCSection *getWin64EHFuncTableSection() const { return NULL; } + virtual const MCSection *getWin64EHTableSection() const { return NULL; } virtual void emitPersonalityValue(MCStreamer &Streamer, const TargetMachine &TM, @@ -133,6 +135,8 @@ public: virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); virtual const MCSection *getEHFrameSection() const; + virtual const MCSection *getWin64EHFuncTableSection() const { return NULL; } + virtual const MCSection *getWin64EHTableSection() const { return NULL; } virtual const MCSection * SelectSectionForGlobal(const GlobalValue *GV, SectionKind Kind, @@ -196,6 +200,8 @@ public: class TargetLoweringObjectFileCOFF : public TargetLoweringObjectFile { const MCSection *DrectveSection; + const MCSection *PDataSection; + const MCSection *XDataSection; public: TargetLoweringObjectFileCOFF() {} ~TargetLoweringObjectFileCOFF() {} @@ -203,6 +209,10 @@ public: virtual void Initialize(MCContext &Ctx, const TargetMachine &TM); virtual const MCSection *getEHFrameSection() const; + virtual const MCSection *getWin64EHFuncTableSection() const { + return PDataSection; + } + virtual const MCSection *getWin64EHTableSection() const {return XDataSection;} virtual const MCSection *getDrectveSection() const { return DrectveSection; } |