1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 22:12:57 +02:00
llvm-mirror/lib
Chris Lattner 79e9585304 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.

llvm-svn: 77803
2009-08-01 21:11:14 +00:00
..
Analysis LibCallAliasAnalysis doesn't use TargetData. 2009-07-31 20:56:29 +00:00
Archive Fix some non-sensical code. 2009-07-13 05:29:34 +00:00
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 Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ExecutionEngine In TrimAllocationToSize, if a block is below the minimum allocation size, 2009-07-29 22:55:02 +00:00
Linker Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are 2009-07-31 20:28:14 +00:00
MC Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
Support Update CMake files. 2009-07-31 18:50:22 +00:00
System Remove another F_OK. 2009-07-29 00:02:58 +00:00
Target Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
Transforms Move a few more APIs back to 2.5 forms. The only remaining ones left to change back are 2009-07-31 20:28:14 +00:00
VMCore Privatize all but one of the remaining constant tables. 2009-07-31 22:45:43 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00