diff options
| author | Chris Lattner <sabre@nondot.org> | 2009-08-13 00:26:52 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2009-08-13 00:26:52 +0000 |
| commit | 5ed8c4212ac37c98139ccc19d86333c6ae9a150f (patch) | |
| tree | e0b7db232304aec030bdfb54984183458784c30a /llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | |
| parent | b691316838646a0b6ea9743fe23683e650740290 (diff) | |
| download | bcm5719-llvm-5ed8c4212ac37c98139ccc19d86333c6ae9a150f.tar.gz bcm5719-llvm-5ed8c4212ac37c98139ccc19d86333c6ae9a150f.zip | |
make PIC16 unique its own sections instead of having mcontext do it.
llvm-svn: 78871
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetObjectFile.h')
| -rw-r--r-- | llvm/lib/Target/PIC16/PIC16TargetObjectFile.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h index 91415bc7658..1c6d9cf3884 100644 --- a/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h +++ b/llvm/lib/Target/PIC16/PIC16TargetObjectFile.h @@ -11,6 +11,7 @@ #define LLVM_TARGET_PIC16_TARGETOBJECTFILE_H #include "llvm/Target/TargetLoweringObjectFile.h" +#include "llvm/ADT/StringMap.h" #include <vector> #include <string> @@ -46,6 +47,9 @@ namespace llvm { }; class PIC16TargetObjectFile : public TargetLoweringObjectFile { + /// SectionsByName - Bindings of names to allocated sections. + mutable StringMap<MCSectionPIC16*> SectionsByName; + const TargetMachine *TM; const MCSectionPIC16 *getPIC16Section(const char *Name, |

