llvm-6502/lib/CodeGen/AsmPrinter
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
..
AsmPrinter.cpp Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
CMakeLists.txt Fix cmake builds. 2009-05-19 00:18:14 +00:00
DIE.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
DIE.h Down with _even more_ statics! 2009-06-24 23:13:56 +00:00
DwarfDebug.cpp switch off of 'Section' onto MCSection. We're not properly using 2009-07-31 18:48:30 +00:00
DwarfDebug.h switch off of 'Section' onto MCSection. We're not properly using 2009-07-31 18:48:30 +00:00
DwarfException.cpp add some comments on how this is *supposed* to work. We don't 2009-07-31 22:18:14 +00:00
DwarfException.h - Temporarily unbreak the build by forcing the TType "absptr", which isn't 2009-07-29 00:31:35 +00:00
DwarfLabel.cpp Split out the Dwarf writer stuff into separate files. This is a much more 2009-05-15 00:11:17 +00:00
DwarfLabel.h Split out the DwarfDebug module from the DwarfWriter module. 2009-05-15 09:23:25 +00:00
DwarfPrinter.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
DwarfPrinter.h Split out the DwarfDebug module from the DwarfWriter module. 2009-05-15 09:23:25 +00:00
DwarfWriter.cpp Simplify. 2009-06-25 22:36:02 +00:00
Makefile remove dead makefile flags. 2009-06-24 05:29:56 +00:00
OcamlGCPrinter.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00