summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h
diff options
context:
space:
mode:
authorSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-19 11:00:54 +0000
committerSanjiv Gupta <sanjiv.gupta@microchip.com>2008-11-19 11:00:54 +0000
commit2ae21ee51798759d1fa455969f53c5a428e3f091 (patch)
tree5e5c4f32b0f5aa44036fd0c55e7da5c57184381b /llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h
parentaf7efa695c5c775dbe33a69c3b69c994a4fbaf2c (diff)
downloadbcm5719-llvm-2ae21ee51798759d1fa455969f53c5a428e3f091.tar.gz
bcm5719-llvm-2ae21ee51798759d1fa455969f53c5a428e3f091.zip
Added a more function PIC16 backend. However to get this working a patch in
ExpandIntegerOperand (LegalizeIntegerTypes.cpp) is needed which is yet to be reworked and submitted. llvm-svn: 59617
Diffstat (limited to 'llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h')
-rw-r--r--llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h b/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h
index 1401bab82d3..680c8e7e9ce 100644
--- a/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h
+++ b/llvm/lib/Target/PIC16/PIC16TargetAsmInfo.h
@@ -23,6 +23,17 @@ namespace llvm {
struct PIC16TargetAsmInfo : public TargetAsmInfo {
PIC16TargetAsmInfo(const PIC16TargetMachine &TM);
+ const char *UDataSectionStartSuffix;
+ const char *RomDataSectionStartSuffix;
+ public :
+ const char *getUDataSectionStartSuffix() const {
+ return UDataSectionStartSuffix;
+ }
+ const char *getRomDataSectionStartSuffix() const {
+ return RomDataSectionStartSuffix;
+ }
+
+
};
} // namespace llvm
OpenPOWER on IntegriCloud