aboutsummaryrefslogtreecommitdiff
path: root/lib/Target/PIC16/PIC16TargetAsmInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/PIC16/PIC16TargetAsmInfo.h')
-rw-r--r--lib/Target/PIC16/PIC16TargetAsmInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/PIC16/PIC16TargetAsmInfo.h b/lib/Target/PIC16/PIC16TargetAsmInfo.h
index a39209daaf..e464e36f78 100644
--- a/lib/Target/PIC16/PIC16TargetAsmInfo.h
+++ b/lib/Target/PIC16/PIC16TargetAsmInfo.h
@@ -45,6 +45,8 @@ namespace llvm {
mutable std::vector<PIC16Section *> IDATASections;
mutable std::vector<PIC16Section *> AutosSections;
mutable PIC16Section *ROSection;
+ mutable PIC16Section *ExternalVarDecls;
+ mutable PIC16Section *ExternalVarDefs;
virtual ~PIC16TargetAsmInfo();
private:
@@ -57,6 +59,8 @@ namespace llvm {
const Section *getIDATASectionForGlobal(const GlobalVariable *GV) const;
const Section *getSectionForAuto(const GlobalVariable *GV) const;
virtual const Section *SelectSectionForGlobal(const GlobalValue *GV) const;
+
+
public:
void SetSectionForGVs(Module &M);
std::vector<PIC16Section *> getBSSSections() const {