Rearrange all the SectionKinds and structure them into a hierarchical
authorChris Lattner <sabre@nondot.org>
Sun, 26 Jul 2009 05:44:20 +0000 (05:44 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 26 Jul 2009 05:44:20 +0000 (05:44 +0000)
commite346e180f339ad15322f0430aab8d812cf2fe4de
tree81dd3b4842c498cdd833bfa7bf4c6747f50b7455
parentd6b06b1f3696b1bf4b334c14faebefad6be45015
Rearrange all the SectionKinds and structure them into a hierarchical
group instead of a bunch of random unrelated ideas.  Provide predicates
to categorize a SectionKind into a group, and use them instead of
getKind() throughout the code.

This also renames a ton of SectionKinds to be more consistent and
evocative, and adds a huge number of comments on the enums so that
I will hopefully be able to remember how this stuff works long from
now.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77129 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetAsmInfo.h
lib/Target/DarwinTargetAsmInfo.cpp
lib/Target/ELFTargetAsmInfo.cpp
lib/Target/TargetAsmInfo.cpp
lib/Target/X86/X86TargetAsmInfo.cpp