aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-21 22:30:25 +0000
committerChris Lattner <sabre@nondot.org>2009-07-21 22:30:25 +0000
commitbdf7a3ade1041e10b2f94f4ef093d040dc32663a (patch)
treeae7678999700db94924e304ef0e8e80e5caa8ff7
parente1abeb478ad0781f5749ac8fce991a04e90d3b25 (diff)
improve comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76660 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Target/TargetAsmInfo.h32
1 files changed, 21 insertions, 11 deletions
diff --git a/include/llvm/Target/TargetAsmInfo.h b/include/llvm/Target/TargetAsmInfo.h
index 9d76f3c058..a8da6cb78a 100644
--- a/include/llvm/Target/TargetAsmInfo.h
+++ b/include/llvm/Target/TargetAsmInfo.h
@@ -33,20 +33,30 @@ namespace llvm {
namespace SectionKind {
enum Kind {
- Unknown = 0, ///< Custom section
- Text, ///< Text section
- Data, ///< Data section
- DataRel, ///< Contains data that has relocations
- DataRelLocal, ///< Contains data that has only local relocations
- BSS, ///< BSS section
- ROData, ///< Readonly data section
- DataRelRO, ///< Contains data that is otherwise readonly
- DataRelROLocal, ///< Contains r/o data with only local relocations
- RODataMergeStr, ///< Readonly data section (mergeable strings)
- RODataMergeConst, ///< Readonly data section (mergeable constants)
+ Unknown = 0, ///< Custom section.
+ Text, ///< Text section.
+ BSS, ///< BSS section.
+
+ Data, ///< Data section.
+ DataRel, ///< Data that has relocations.
+ DataRelLocal, ///< Data that only has local relocations.
+
+ // Readonly data.
+ ROData, ///< Readonly data section.
+ DataRelRO, ///< Readonly data with non-local relocations.
+ DataRelROLocal, ///< Readonly data with local relocations only.
+
+ /// Mergable sections.
+ RODataMergeStr, ///< Readonly data section: nul-terminated strings.
+ RODataMergeConst, ///< Readonly data section: fixed-length constants.
+
+ /// Small sections - These sections contains "short" data, and should be
+ /// placed "near" the GP.
SmallData, ///< Small data section
SmallBSS, ///< Small bss section
SmallROData, ///< Small readonly section
+
+ /// Thread local data.
ThreadData, ///< Initialized TLS data objects
ThreadBSS ///< Uninitialized TLS data objects
};