summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetLoweringObjectFile.h
diff options
context:
space:
mode:
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-13 05:07:35 +0000
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>2009-08-13 05:07:35 +0000
commitb808588a3a5febe931896b3779d159ba90d836f7 (patch)
treee07ae309748105f8a462ce435a66f3412dce5ba6 /include/llvm/Target/TargetLoweringObjectFile.h
parent62728dc14d05e9a677664b784c4f5c6e188aa11a (diff)
downloadllvm-b808588a3a5febe931896b3779d159ba90d836f7.tar.gz
llvm-b808588a3a5febe931896b3779d159ba90d836f7.tar.bz2
llvm-b808588a3a5febe931896b3779d159ba90d836f7.tar.xz
Change MCSectionELF to represent a section semantically instead of
syntactically as a string, very similiar to what Chris did with MachO. The parsing support and validation is not introduced yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Target/TargetLoweringObjectFile.h b/include/llvm/Target/TargetLoweringObjectFile.h
index 102928b659..19bb02c012 100644
--- a/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/include/llvm/Target/TargetLoweringObjectFile.h
@@ -204,8 +204,9 @@ protected:
const MCSection *MergeableConst16Section;
protected:
- const MCSection *getELFSection(const char *Name, bool isDirective,
- SectionKind Kind) const;
+ const MCSection *getELFSection(StringRef Section, unsigned Type,
+ unsigned Flags, SectionKind Kind,
+ bool IsExplicit = false) const;
public:
TargetLoweringObjectFileELF(// FIXME: REMOVE AFTER UNIQUING IS FIXED.
bool hasCrazyBSS = false)