| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
the appropriate subclasses.
llvm-svn: 77815
|
|
|
|
| |
llvm-svn: 77814
|
|
|
|
| |
llvm-svn: 77813
|
|
|
|
| |
llvm-svn: 77812
|
|
|
|
| |
llvm-svn: 77810
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 77787
|
|
|
|
|
|
|
| |
indicate that it is a predicate, not an emitter. This eliminates TAI
dependencies on Mangler and GlobalValue.
llvm-svn: 77726
|
|
|
|
|
|
| |
MCSection subclasses yet, but this is a step in the right direction.
llvm-svn: 77708
|
|
|
|
|
|
| |
initialize method, which can be called when an MCContext is available.
llvm-svn: 77687
|
|
|
|
|
|
|
|
| |
into the mergable section if it is one of our special cases. This could
obviously be improved, but this is the minimal fix and restores us to the
previous behavior.
llvm-svn: 77679
|
|
|
|
| |
llvm-svn: 77435
|
|
|
|
| |
llvm-svn: 77434
|
|
|
|
|
|
| |
No functionality change.
llvm-svn: 77432
|
|
|
|
| |
llvm-svn: 77430
|
|
|
|
|
|
| |
appears to put strings of any length into the ELF cstring equivalent, so just rip out the code.
llvm-svn: 77429
|
|
|
|
| |
llvm-svn: 77336
|
|
|
|
|
|
|
| |
mode, and "ld64" (the default linker) falls back to it in -static
mode.
llvm-svn: 77334
|
|
|
|
| |
llvm-svn: 77326
|
|
it is highly specific to the object file that will be generated in the end,
this introduces a new TargetLoweringObjectFile interface that is implemented
for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.
Though still is still a brutal and ugly refactoring, this is a major step
towards goodness.
This patch also:
1. fixes a bunch of dangling pointer problems in the PIC16 backend.
2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
3. gets us closer to xcore having its own crazy target section flags and
pic16 not having to shadow sections with its own objects.
4. fixes wierdness where ELF targets would set CStringSection but not
CStringSection_. Factor the code better.
5. fixes some bugs in string lowering on ELF targets.
llvm-svn: 77294
|