llvm-6502/lib
Chris Lattner 968ff11967 Change SectionKind to be a property that is true of a *section*, it
should have no state that is specific to particular globals in the
section.  In this case, it means the removal of the "isWeak" and
"ExplicitSection" bits.  MCSection uses the new form of SectionKind.

To handle isWeak, I introduced a new SectionInfo class, which is
SectionKind + isWeak, and it is used by the part of the code generator
that does classification of a specific global.

The ExplicitSection disappears.  It is moved onto MCSection as a new
"IsDirective" bit.  Since the Name of a section is either a section
or directive, it makes sense to keep this bit in MCSection.  Ultimately
the creator of MCSection should canonicalize (e.g.) .text to whatever
the actual section is.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77803 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-01 21:11:14 +00:00
..
Analysis LibCallAliasAnalysis doesn't use TargetData. 2009-07-31 20:56:29 +00:00
Archive
AsmParser Move the metadata constructors back to 2.5 syntax. 2009-07-31 21:35:40 +00:00
Bitcode Move the metadata constructors back to 2.5 syntax. 2009-07-31 21:35:40 +00:00
CodeGen Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
CompilerDriver
Debugger
ExecutionEngine
Linker
MC Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
Support
System
Target Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
Transforms
VMCore Privatize all but one of the remaining constant tables. 2009-07-31 22:45:43 +00:00
Makefile