| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
There is still a bit more refactoring left to do in Targets. But we are now very
close to fixing all the layering issues in MC.
llvm-svn: 135611
|
|
|
|
|
|
|
|
| |
TargetLoweringObjectFileImpl down to MCObjectFileInfo.
TargetAsmInfo is done to one last method. It's *almost* gone!
llvm-svn: 135569
|
|
|
|
| |
llvm-svn: 135535
|
|
|
|
| |
llvm-svn: 135068
|
|
|
|
|
|
| |
supports compact unwind info instead of having a separate flag indicating this.
llvm-svn: 133685
|
|
|
|
| |
llvm-svn: 133662
|
|
|
|
|
|
|
|
| |
If the linker supports it, this will hold the CIE and FDE information in a
compact format. The implementation of the compact unwinding emission is coming
soon.
llvm-svn: 133658
|
|
|
|
|
|
| |
having.
llvm-svn: 132898
|
|
|
|
|
|
| |
Fixes PR10095.
llvm-svn: 132735
|
|
|
|
|
|
| |
this. XFAIL'd, because the COFF AsmParser can't handle .section yet.
llvm-svn: 132220
|
|
|
|
|
|
| |
assert that prevented setting alignment on section creation.
llvm-svn: 132113
|
|
|
|
| |
llvm-svn: 132111
|
|
|
|
| |
llvm-svn: 131952
|
|
|
|
| |
llvm-svn: 131951
|
|
|
|
| |
llvm-svn: 131765
|
|
|
|
| |
llvm-svn: 131763
|
|
|
|
|
|
|
|
| |
who used this flag, and it now emits CFI and doesn't emit this anymore. All
other targets left this flag "false".
<rdar://problem/8486371>
llvm-svn: 130918
|
|
|
|
|
|
| |
-fno-dwarf2-cfi-asm. Implement the same behavior.
llvm-svn: 130637
|
|
|
|
| |
llvm-svn: 130343
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
give it a bit more responsibility. Also implement it for MachO.
If hacked to use cfi, 32 bit MachO will produce
.cfi_personality 155, L___gxx_personality_v0$non_lazy_ptr
and 64 bit will produce
.cfi_presonality ___gxx_personality_v0
The general idea is that .cfi_personality gets passed the final symbol. It is
up to codegen to produce it if using indirect representation (like 32 bit
MachO), but it is up to MC to decide which relocations to create.
llvm-svn: 130341
|
|
|
|
| |
llvm-svn: 130331
|
|
|
|
| |
llvm-svn: 129844
|
|
|
|
|
|
| |
triple component.
llvm-svn: 129838
|
|
|
|
|
|
|
|
|
| |
- There is a minor semantic change here (evidenced by the test change) for
Darwin triples that have no version component. I debated changing the default
behavior of isOSVersionLT, but decided it made more sense for triples to be
explicit.
llvm-svn: 129802
|
|
|
|
|
|
| |
error in foo.o; no .eh_frame_hdr table will be created.
llvm-svn: 129635
|
|
|
|
| |
llvm-svn: 127944
|
|
|
|
| |
llvm-svn: 127943
|
|
|
|
| |
llvm-svn: 127939
|
|
|
|
|
|
|
|
|
|
|
| |
The problem was codegen guessing the wrong values and printing
.section .eh_frame,"aMS",@progbits,4
It is not clear at all if Codegen should try to guess, MC is the
one that should know the default flags.
llvm-svn: 126421
|
|
|
|
| |
llvm-svn: 126163
|
|
|
|
|
|
| |
Radar 9012638.
llvm-svn: 126127
|
|
|
|
| |
llvm-svn: 125960
|
|
|
|
|
|
| |
section.
llvm-svn: 125526
|
|
|
|
|
|
| |
Add support for SHT_X86_64_UNWIND.
llvm-svn: 124059
|
|
|
|
| |
llvm-svn: 124056
|
|
|
|
| |
llvm-svn: 124054
|
|
|
|
| |
llvm-svn: 121471
|
|
|
|
| |
llvm-svn: 121461
|
|
|
|
|
|
|
|
|
|
|
| |
f:
.cfi_startproc
nop
.cfi_endproc
assembled (on ELF).
llvm-svn: 121434
|
|
|
|
|
|
| |
earlier. Implicit bool -> int conversions are evil!
llvm-svn: 118651
|
|
|
|
|
|
|
|
| |
There are currently 100 references to COFF::IMAGE_SCN in 6 files
and 11 different functions. Section to attribute mapping really
needs to happen in one place to avoid problems like this.
llvm-svn: 117473
|
|
|
|
| |
llvm-svn: 117472
|
|
|
|
|
|
|
|
| |
".{section}${name}" instead of ".{section}$linkonce_{name}" for linkonce sections.
It seems GNU ld/PECOFF relies on section names, linking with g++'s libstdc++.a would fail.
llvm-svn: 116791
|
|
|
|
|
|
|
| |
Such a check does not make any sense in presense of inlining and other compiler-dependent stuff.
This should fix bunch of warnings on mingw32.
llvm-svn: 116113
|
|
|
|
| |
llvm-svn: 115002
|
|
|
|
|
|
| |
knows about them. This is not necessary on 10.6 and later.
llvm-svn: 114997
|
|
|
|
|
|
|
| |
support aligned comm. Detect when compiling for 10.4 and don't
emit an alignment for comm. THis will hopefully fix PR8198.
llvm-svn: 114817
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1) nuke ConstDataCoalSection, which is dead.
2) revise my previous patch for rdar://8018335,
which was completely wrong. Specifically, it doesn't
make sense to mark __TEXT,__const_coal as PURE_INSTRUCTIONS,
because it is for readonly data. templates (it turns out)
go to const_coal_nt. The real fix for rdar://8018335 was
to give ConstTextCoalSection a section kind of ReadOnly
instead of Text.
llvm-svn: 112496
|
|
|
|
|
|
|
|
|
|
|
| |
to keep "Text" in sync with the "pure instructions" section attribute.
Lack of this attribute was preventing the assembler from emitting
multibyte noops instructions for templates (and inlines, and other
coalesced stuff) and was causing the assembler to mismatch .o files.
This fixes rdar://8018335
llvm-svn: 108461
|
|
|
|
|
|
|
|
| |
section means that it is used only during the program load and can be discarded afterwards.
This way *only* debug sections can be discarded, but not the opposite. Seems like the copy-and-pasto from ELF code, since there it contains the reverse flag ('alloc').
llvm-svn: 107658
|