| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Add support for having multiple sections with the same name and comdat.
Using this in combination with -ffunction-sections allows LLVM to output a .o
file with mulitple sections named .text. This saves space by avoiding long
unique names of the form .text.<C++ mangled name>.
llvm-svn: 229541
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
regressions for LLDB on Linux. Rafael indicated on lldb-dev that we
should just go ahead and revert these but that he wasn't at a computer.
The patches backed out are as follows:
r228980: Add support for having multiple sections with the name and ...
r228889: Invert the section relocation map.
r228888: Use the existing SymbolTableIndex intsead of doing a lookup.
r228886: Create the Section -> Rel Section map when it is first needed.
These patches look pretty nice to me, so hoping its not too hard to get
them re-instated. =D
llvm-svn: 229080
|
|
|
|
|
|
|
|
| |
Using this in combination with -ffunction-sections allows LLVM to output a .o
file with mulitple sections named .text. This saves space by avoiding long
unique names of the form .text.<C++ mangled name>.
llvm-svn: 228980
|
|
|
|
|
|
|
|
|
|
|
|
| |
Any code creating an MCSectionELF knows ELF and already provides the flags.
SectionKind is an abstraction used by common code that uses a plain
MCSection.
Use the flags to compute the SectionKind. This removes a lot of
guessing and boilerplate from the MCSectionELF construction.
llvm-svn: 227476
|
|
|
|
| |
llvm-svn: 219443
|
|
|
|
|
|
|
|
|
|
|
| |
Accepting quotes is a property of an assembler, not of an object file. For
example, ELF can support any names for sections and symbols, but the gnu
assembler only accepts quotes in some contexts and llvm-mc in a few more.
LLVM should not produce different symbols based on a guess about which assembler
will be reading the code it is printing.
llvm-svn: 194575
|
|
|
|
| |
llvm-svn: 190769
|
|
|
|
|
|
| |
Differential Revision: http://llvm-reviews.chandlerc.com/D598
llvm-svn: 179725
|
|
|
|
| |
llvm-svn: 156602
|
|
|
|
|
|
| |
that contain only letters, digits and the characters "_" and ".".
llvm-svn: 127028
|
|
|
|
| |
llvm-svn: 126963
|
|
|
|
|
|
| |
section.
llvm-svn: 125526
|
|
|
|
| |
llvm-svn: 125490
|
|
|
|
| |
llvm-svn: 124056
|
|
|
|
| |
llvm-svn: 124054
|
|
|
|
| |
llvm-svn: 122568
|
|
|
|
| |
llvm-svn: 119547
|
|
|
|
|
|
| |
earlier. Implicit bool -> int conversions are evil!
llvm-svn: 118651
|
|
|
|
| |
llvm-svn: 118645
|
|
|
|
| |
llvm-svn: 118639
|
|
|
|
|
|
|
| |
section kind. Previously, optimized nops were only used for MachO.
Also added tests for ELF and COFF.
llvm-svn: 115523
|
|
|
|
|
|
|
| |
time. That way, the EntrySize field is initialized for other code paths,
namely, the .ll -> .o code path.
llvm-svn: 115141
|
|
|
|
|
|
| |
merge XCore's section into MCSectionELF
llvm-svn: 100812
|
|
|
|
| |
llvm-svn: 94189
|
|
|
|
| |
llvm-svn: 93352
|
|
|
|
| |
llvm-svn: 86251
|
|
|
|
| |
llvm-svn: 79777
|
|
|
|
| |
llvm-svn: 79763
|
|
|
|
|
|
|
| |
class which represents the XCore cp/dp section flags. No functionality
change yet.
llvm-svn: 79077
|
|
|
|
|
|
| |
elf object file.
llvm-svn: 79029
|
|
|
|
|
|
|
| |
friends so that it doesn't match sections like .data.rel.local, which
should not be emitted as section directives.
llvm-svn: 78963
|
|
|
|
|
|
| |
must be emitted for PowerPC-Linux '.bss' section
llvm-svn: 78958
|
|
|
|
| |
llvm-svn: 78937
|
|
syntactically as a string, very similiar to what Chris did with MachO.
The parsing support and validation is not introduced yet.
llvm-svn: 78890
|