llvm-6502/test/MC/ELF
Eli Bendersky df861b3ac4 Rewrite a test to check actual output rather than intermediate implementation
detail.

The was this test was written, it was relying on an implementation detail
(fixups) and hence was very brittle (relying, among other things, on the
exact ordering of statistics printed by MC).

The test was rewritten to check a more observable output difference. While it
doesn't cover 100% of the things the original test covered, it's a good
practice to write regression tests this way. If we want to check that
internal details and invariants hold, such tests should be expressed as unit
tests.





git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176377 91177308-0d34-0410-b5e6-96231b3b80d8
2013-03-01 20:54:00 +00:00
..
abs.s
alias-reloc.s
alias.s
align-bss.s
align-nops.s
align-size.s
align-text.s
align.s
bad-section.s
basic-elf-32.s
basic-elf-64.s
bracket-exprs.s
bracket.s
bss.ll
call-abs.s
cfi-adjust-cfa-offset.s
cfi-advance-loc2.s
cfi-def-cfa-offset.s
cfi-def-cfa-register.s
cfi-def-cfa.s
cfi-escape.s Implement .cfi_escape. Patch by Brian Anderson! 2011-12-29 20:24:47 +00:00
cfi-offset.s
cfi-reg.s PR13754: llvm-mc/x86 crashes on .cfi directives without the % prefix for registers. 2012-09-07 14:51:35 +00:00
cfi-register.s Add support for .cfi_register now that it is easy to extent the representation 2012-11-25 15:14:49 +00:00
cfi-rel-offset2.s
cfi-rel-offset.s
cfi-remember.s
cfi-restore.s Implement cfi_restore. Patch by Brian Anderson! 2011-12-29 21:43:03 +00:00
cfi-same-value.s
cfi-sections.s
cfi-signal-frame.s Add support for .cfi_signal_frame. Fixes pr11762. 2012-01-23 21:51:52 +00:00
cfi-undefined.s Implement .cfi_undefined. Based on a patch from PaX team, updated by 2012-11-23 16:59:41 +00:00
cfi-zero-addr-delta.s
cfi.s
comdat.s
common2.s
common.s
comp-dir.s Now that llvm-dwarfdump supports flags to specify which DWARF section to dump, 2013-01-25 21:44:53 +00:00
debug-line.s
debug-loc.s
diff2.s
diff.s
elf_directive_previous.s
elf_directive_section.s
empty-dwarf-lines.s
empty.s
entsize.ll
entsize.s
fde.s Give this test an explicit triple. 2012-08-12 08:21:27 +00:00
file.s
gen-dwarf.s Emit relocations from .debug_aranges to .debug_info for asm files 2012-11-14 09:55:38 +00:00
global-offset.s Handle expressions of the form _GLOBAL_OFFSET_TABLE_-symbol the same way gas 2011-12-10 02:28:43 +00:00
got.s
ident.s
invalid-symver.s
lcomm.s MC: Overhaul handling of .lcomm 2012-09-07 17:25:13 +00:00
leb128.s
lit.local.cfg Continue cleanup of LIT, getting rid of the remaining artifacts from dejagnu 2012-03-25 09:02:19 +00:00
local-reloc.s
many-section.s In the ObjectFile interface, replace isInternal(), isAbsolute(), isGlobal(), and isWeak(), with a bitset of flags. 2012-02-28 23:47:53 +00:00
merge.s
n_bytes.s
no-fixup.s Rewrite a test to check actual output rather than intermediate implementation 2013-03-01 20:54:00 +00:00
noexec.s
norelocation.s
org.s
pic-diff.s
plt.s
pr9292.s
relax-all-flag.s Add a test for explicitly exercising the mc-relax-all flag. 2012-12-10 20:36:01 +00:00
relax-arith.s
relax-crash.s
relax.s
relocation-386.s Handle reloc_signed_4byte in here. Not doing so was a regression from my 2011-12-09 19:57:29 +00:00
relocation-pc.s
relocation.s
rename.s
section-quoting.s
section.s
set.s
sleb.s
symref.s
tls-i386.s For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981. 2012-02-15 15:09:06 +00:00
tls.s For ELF, also call fixSymbolsInTLSFixups() on expressions passed to EmitValue (literal values). Previously only called on expressions in instructions. New test cases added to tls.s, tls-i386.s. Resolves PR11981. 2012-02-15 15:09:06 +00:00
type.s Add support for gnu_indirect_function. 2011-12-12 17:34:04 +00:00
uleb.s
undef2.s
undef.s
version.s ELF: Add support for the asm .version directive. 2012-05-12 14:30:47 +00:00
weak-relocation.s
weak.s
weakref-plt.s
weakref-reloc.s
weakref.s
x86_64-reloc-sizetest.s
zero.s