llvm-6502/test/MC/ELF
Rafael Espindola 76e71bd66e Write sections mostly in one pass.
During ELF writing, there is no need to further relax the sections, so we
should not be creating fragments. This patch avoids doing so in all cases
but debug section compression (that is next).

Also, the ELF format is fairly simple to write. We can do a single pass over
the sections to write them out and compute the section header table.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236235 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-30 14:21:49 +00:00
..
ARM Report error for non-zero data in .bss 2014-06-22 00:33:44 +00:00
abs.s Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
alias-reloc.s Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
alias-to-local.s Don't walk aliases from global to local symbols in comdats. 2015-04-17 08:46:11 +00:00
alias.s MC: For variable symbols, maintain MCSymbol::Section as a cache. 2015-04-03 01:46:11 +00:00
align-bss.s
align-nops.s
align-size.s
align-text.s
align.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
bad-expr2.s Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
bad-expr3.s Completely rewrite ELFObjectWriter::RecordRelocation. 2014-03-29 06:26:49 +00:00
bad-expr.s Forgot to add testcase for r198590 2014-01-21 20:39:11 +00:00
bad-relocation.s MC asm parser: allow ?'s in symbol names, and handle @'s in names in MS asm 2013-10-18 20:46:28 +00:00
bad-section.s
basic-elf-32.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
basic-elf-64.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
bracket-exprs.s [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
bracket.s
bss-large.ll Added the test missed from r185080. 2013-07-01 09:02:33 +00:00
bss.ll
call-abs.s
cfi-adjust-cfa-offset.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-advance-loc2.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-def-cfa-offset.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-def-cfa-register.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-def-cfa.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-escape.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-large-model.s Use CIE version 1 for .eh_frame. 2015-04-27 22:04:24 +00:00
cfi-offset.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-reg.s
cfi-register.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-rel-offset2.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-rel-offset.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-remember.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-restore.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-same-value.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-sections.s Use CIE version 4 for dwarf4. 2015-04-28 13:55:31 +00:00
cfi-signal-frame.s Use CIE version 1 for .eh_frame. 2015-04-27 22:04:24 +00:00
cfi-undefined.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-version.ll IR: Give 'DI' prefix to debug info metadata 2015-04-29 16:38:44 +00:00
cfi-window-save.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi-zero-addr-delta.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
cfi.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
comdat-dup-group-name.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
comdat-reloc.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
comdat.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
common2.s
common-error1.s Produce errors when an assignment expression would use a common symbol. 2015-01-19 17:30:24 +00:00
common-error2.s Produce errors when an assignment expression would use a common symbol. 2015-01-19 17:30:24 +00:00
common.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
comp-dir.s X86MCAsmInfoGNUCOFF: Set PointerSize as 8 for targeting x64. It caused DW_LNE_set_address was misemitted on x64. 2014-04-08 15:28:50 +00:00
compression.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
debug-line2.s [MC/DWARF] Generate multiple .debug_line entries for adjacent .loc directives 2013-06-19 21:27:27 +00:00
debug-line.s Write section and section table entries in the same order. 2015-04-15 13:07:47 +00:00
debug-loc.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
diff2.s
diff.s
discriminator.s Support DWARF discriminators in object streamer. 2014-02-14 19:27:53 +00:00
dot-symbol-assignment.s Add support for assigning to . in AsmParser. 2014-02-17 20:48:32 +00:00
elf_directive_previous.s
elf_directive_section.s
empty-dwarf-lines.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
empty.s Write the section header string table directly to the output stream. 2015-04-29 20:25:24 +00:00
entsize.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
entsize.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
fde.s
file-double.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
file.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
gen-dwarf.s Don't print labels that on ELF are never used. 2015-03-11 04:20:31 +00:00
global-offset.s
gnu-type-diagnostics.s MC: make ELF .type handling more GNU AS compatible 2014-06-08 00:34:34 +00:00
gnu-type.s MC: make ELF .type handling more GNU AS compatible 2014-06-08 00:34:34 +00:00
got.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
ident.s
ifunc-reloc.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
invalid-symver.s
lcomm.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
leb128.s
lit.local.cfg Reduce verbiage of lit.local.cfg files 2014-06-09 22:42:55 +00:00
local-reloc.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
many-sections-2.s Write the section header string table directly to the output stream. 2015-04-29 20:25:24 +00:00
many-sections.s Write the section header string table directly to the output stream. 2015-04-29 20:25:24 +00:00
merge.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
n_bytes.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
no-fixup.s
no-reloc.s Avoid revocations when possible. 2014-07-01 14:34:30 +00:00
nocompression.s llvm/test/MC/ELF/nocompression.s: Loosen an expression to match "llvm-mc.EXE". 2014-03-30 14:04:00 +00:00
noexec.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
norelocation.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
offset.s Add an option for evaluating past symbols. 2014-04-28 20:53:11 +00:00
org.s
pic-diff.s ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
plt.s
pr9292.s ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
pr19430.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
pr19582.s MC: For variable symbols, maintain MCSymbol::Section as a cache. 2015-04-03 01:46:11 +00:00
relax-all-flag.s
relax-arith.s
relax-crash.s
relax.s
reloc-same-name-section.s Add a test that would have found the bug in r219829. 2014-10-17 01:34:23 +00:00
relocation-386.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
relocation-pc.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
relocation.s Look past locals in comdats. 2015-04-20 12:44:06 +00:00
rename.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
section-quoting.s
section-sym2.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
section-sym-err.s Add back commits r219835 and a fixed version of r219829. 2014-10-17 01:48:58 +00:00
section-sym.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
section-unique-err1.s Use a comma after the unique keyword. 2015-04-06 16:34:41 +00:00
section-unique-err2.s Use a comma after the unique keyword. 2015-04-06 16:34:41 +00:00
section-unique-err3.s Use a comma after the unique keyword. 2015-04-06 16:34:41 +00:00
section-unique-err4.s Use a comma after the unique keyword. 2015-04-06 16:34:41 +00:00
section-unique.s Write the section header string table directly to the output stream. 2015-04-29 20:25:24 +00:00
section.s Don't check for offsets in tests where it is not relevant. 2015-04-30 13:57:06 +00:00
set.s ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
size.s Expand variables when evaluating absolute expressions. 2015-03-04 22:03:21 +00:00
sleb.s
strtab-suffix-opt.s ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
subsection.s
subtraction-error.s Produce an error instead of a crash in an expr we cannot represent. 2014-04-28 12:40:50 +00:00
symbol-names.s MC asm parser: allow ?'s in symbol names, and handle @'s in names in MS asm 2013-10-18 20:46:28 +00:00
symver-msvc.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
symver.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
tls-i386.s ELFObjectWriter: deduplicate suffices in strtab 2014-04-30 16:25:02 +00:00
tls.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
type-propagate.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
type.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
uleb.s MC: Allow multiple comma-separated expressions on the .uleb128 directive. 2015-02-19 20:24:04 +00:00
undef2.s
undef.s Don't include an invalid symbol in the symbol table. 2014-04-28 13:39:57 +00:00
version.s
weak-diff.s Compute A-B when A or B is weak. 2015-04-17 21:15:17 +00:00
weak-relocation.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
weak.s Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
weakref-plt.s
weakref-reloc.s Teach llvm-readobj to print human friendly description of reserved sections. 2014-03-24 05:00:34 +00:00
weakref.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
x86_64-reloc-sizetest.s Change how we iterate over relocations on ELF. 2013-05-30 03:05:14 +00:00
zero.s