diff options
author | Chris Lattner <sabre@nondot.org> | 2009-08-08 21:37:01 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-08-08 21:37:01 +0000 |
commit | f7427e558dab6fa21a32003c474ddaa5c8cb6175 (patch) | |
tree | 91421d019470c17b43cf5299132c0b5887649a50 /lib/Target/PIC16/PIC16TargetObjectFile.cpp | |
parent | 245f05843f7f17406f394696e7330950e6d88e6d (diff) | |
download | llvm-f7427e558dab6fa21a32003c474ddaa5c8cb6175.tar.gz llvm-f7427e558dab6fa21a32003c474ddaa5c8cb6175.tar.bz2 llvm-f7427e558dab6fa21a32003c474ddaa5c8cb6175.tar.xz |
add new PIC16Section class, this time hopefully not breaking the build :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetObjectFile.cpp')
-rw-r--r-- | lib/Target/PIC16/PIC16TargetObjectFile.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/PIC16/PIC16TargetObjectFile.cpp b/lib/Target/PIC16/PIC16TargetObjectFile.cpp index 3900929f46..a9668f9c07 100644 --- a/lib/Target/PIC16/PIC16TargetObjectFile.cpp +++ b/lib/Target/PIC16/PIC16TargetObjectFile.cpp @@ -8,6 +8,7 @@ //===----------------------------------------------------------------------===// #include "PIC16TargetObjectFile.h" +#include "PIC16Section.h" #include "PIC16ISelLowering.h" #include "PIC16TargetMachine.h" #include "llvm/DerivedTypes.h" @@ -24,7 +25,7 @@ const MCSection *PIC16TargetObjectFile:: getPIC16Section(const char *Name, bool isDirective, SectionKind Kind) const { if (MCSection *S = getContext().GetSection(Name)) return S; - return MCSection::Create(Name, isDirective, Kind, getContext()); + return MCSectionPIC16::Create(Name, isDirective, Kind, getContext()); } |