llvm-6502/include/llvm/MC
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
..
MCAsmLexer.h llvm-mc: Support quoted identifiers. 2009-07-31 21:55:09 +00:00
MCAsmParser.h Make expression parsing and error/warning reporting available through the 2009-07-28 22:22:31 +00:00
MCContext.h create sections with MCSection::Create instead of Context->getOrCreateSection. 2009-07-31 16:43:49 +00:00
MCInst.h Fill in some methods for the MCValue field of an MCOperand. 2009-06-30 23:37:44 +00:00
MCSection.h Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
MCStreamer.h llvm-mc: Implement .abort fully in the front end 2009-07-27 23:20:52 +00:00
MCSymbol.h Move MCContext and friends to StringRef based APIs. 2009-07-27 21:22:30 +00:00
MCValue.h Rename MCValue::isConstant to isAbsolute. 2009-07-01 06:48:00 +00:00