1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/MC/ARM
Duncan P. N. Exon Smith 0c1aee0b16 DI: Require subprogram definitions to be distinct
As a follow-up to r246098, require `DISubprogram` definitions
(`isDefinition: true`) to be 'distinct'.  Specifically, add an assembler
check, a verifier check, and bitcode upgrading logic to combat testcase
bitrot after the `DIBuilder` change.

While working on the testcases, I realized that
test/Linker/subprogram-linkonce-weak-odr.ll isn't relevant anymore.  Its
purpose was to check for a corner case in PR22792 where two subprogram
definitions match exactly and share the same metadata node.  The new
verifier check, requiring that subprogram definitions are 'distinct',
precludes that possibility.

I updated almost all the IR with the following script:

    git grep -l -E -e '= !DISubprogram\(.* isDefinition: true' |
    grep -v test/Bitcode |
    xargs sed -i '' -e 's/= \(!DISubprogram(.*, isDefinition: true\)/= distinct \1/'

Likely some variant of would work for out-of-tree testcases.

llvm-svn: 246327
2015-08-28 20:26:49 +00:00
..
AlignedBundling
Windows
2010-11-30-reloc-movt.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
2013-03-18-Br-to-label-named-like-reg.s
align_arm_2_thumb.s
align_thumb_2_arm.s
arm11-hint-instr.s [ARM] Add support for ARMV6K subtarget (LLVM) 2015-03-17 11:55:28 +00:00
arm_addrmode2.s
arm_addrmode3.s
arm_fixups.s
arm_instructions.s
arm-aliases.s
arm-arithmetic-aliases.s
arm-elf-relocation-diagnostics.s
arm-elf-relocations.s
arm-elf-symver.s Omit unused section symbols from the symbol table. 2015-06-04 15:33:30 +00:00
arm-it-block.s
arm-ldrd.s
arm-load-store-multiple-deprecated.s
arm-memory-instructions.s
arm-qualifier-diagnostics.s
arm-shift-encoding.s
arm-thumb-cpus-default.s
arm-thumb-cpus.s
arm-thumb-trustzone.s
arm-trustzone.s
basic-arm-instructions-v8.1a.s Fix a bunch of trivial cases of 'CHECK[^:]*$' in the tests. NFCI 2015-08-10 19:01:27 +00:00
basic-arm-instructions-v8.s
basic-arm-instructions.s ARM: Fix another regression introduced in r223113 2015-02-12 13:37:28 +00:00
basic-thumb2-instructions-v8.s
basic-thumb2-instructions.s [ARM] Small refactor of tryConvertingToTwoOperandForm (nfc) 2015-07-13 15:31:33 +00:00
basic-thumb-instructions.s
big-endian-arm-fixup.s
big-endian-thumb2-fixup.s
big-endian-thumb-fixup.s
bkpt.s
bracket-darwin.s
bracket-exprs.s [MC] Use LShr for constant evaluation of ">>" on ELF/arm64--darwin. 2015-04-28 01:37:11 +00:00
cmp-immediate-fixup2.s
cmp-immediate-fixup-error2.s
cmp-immediate-fixup-error.s
cmp-immediate-fixup.s
coff-debugging-secrel.ll DI: Require subprogram definitions to be distinct 2015-08-28 20:26:49 +00:00
coff-file.s
coff-function-type-info.ll
coff-relocations.s
comment.s
complex-operands.s
coproc-diag.s
cps.s
cpu-test.s
crc32-thumb.s
crc32.s
cxx-global-constructor.ll
d16.s
data-in-code.ll Re-commit r235560: Switch lowering: extract jump tables and bit tests before building binary tree (PR22262) 2015-04-23 16:45:24 +00:00
deprecated-v8.s
diagnostics-noneon.s
diagnostics.s
directive-align.s
directive-arch_extension-crc.s
directive-arch_extension-crypto.s
directive-arch_extension-fp.s
directive-arch_extension-idiv.s
directive-arch_extension-mode-switch.s
directive-arch_extension-mp.s
directive-arch_extension-sec.s
directive-arch_extension-simd.s
directive-arch_extension-toggle.s
directive-arch-armv2.s ARMTargetParser: Normalising build attributes 2015-05-27 18:15:37 +00:00
directive-arch-armv2a.s ARMTargetParser: Normalising build attributes 2015-05-27 18:15:37 +00:00
directive-arch-armv3.s ARMTargetParser: Normalising build attributes 2015-05-27 18:15:37 +00:00
directive-arch-armv3m.s ARMTargetParser: Normalising build attributes 2015-05-27 18:15:37 +00:00
directive-arch-armv4.s
directive-arch-armv4t.s
directive-arch-armv5.s
directive-arch-armv5t.s
directive-arch-armv5te.s
directive-arch-armv6-m.s
directive-arch-armv6.s
directive-arch-armv6j.s
directive-arch-armv6k.s [ARM] Add support for ARMV6K subtarget (LLVM) 2015-03-17 11:55:28 +00:00
directive-arch-armv6t2.s
directive-arch-armv6z.s
directive-arch-armv6zk.s
directive-arch-armv7-a.s
directive-arch-armv7-m.s
directive-arch-armv7-r.s
directive-arch-armv7.s
directive-arch-armv7a.s
directive-arch-armv7m.s
directive-arch-armv7r.s
directive-arch-armv8-a.s
directive-arch-armv8a.s
directive-arch-iwmmxt2.s
directive-arch-iwmmxt.s
directive-cpu.s
directive-eabi_attribute-diagnostics.s
directive-eabi_attribute-overwrite.s
directive-eabi_attribute.s
directive-even.s
directive-fpu-diagnostics.s
directive-fpu-instrs.s
directive-fpu-multiple.s [ARM]: Extend -mfpu options for half-precision and vfpv3xd 2015-06-29 09:32:29 +00:00
directive-fpu-softvfp.s
directive-fpu.s
directive-literals.s
directive-object_arch-2.s
directive-object_arch-3.s
directive-object_arch-diagnostics.s
directive-object_arch.s
directive-thumb_func.s
directive-tlsdescseq-diagnostics.s
directive-tlsdescseq.s
directive-type-diagnostics.s Reworking the test part of r241149 2015-07-02 16:53:23 +00:00
directive-unsupported.s
directive-word-diagnostics.s
dot-req-case-insensitive.s
dot-req.s
dwarf-asm-multiple-sections-dwarf-2.s
dwarf-asm-multiple-sections.s
dwarf-asm-no-code.s
dwarf-asm-nonstandard-section.s
dwarf-asm-single-section.s
dwarf-cfi-initial-state.s [DWARF] Add CIE header fields address_size and segment_size when generating dwarf-4 2015-05-12 15:25:08 +00:00
eh-compact-pr0.s Don't depend on the order relocations are written to a .o file. 2015-04-16 12:59:30 +00:00
eh-compact-pr1.s
eh-directive-cantunwind-diagnostics.s
eh-directive-cantunwind.s
eh-directive-fnend-diagnostics.s
eh-directive-fnstart-diagnostics.s
eh-directive-handlerdata.s Don't depend on the order relocations are written to a .o file. 2015-04-16 12:59:30 +00:00
eh-directive-integrated-test.s
eh-directive-movsp-diagnostics.s
eh-directive-movsp.s
eh-directive-multiple-offsets.s
eh-directive-pad-diagnostics.s
eh-directive-pad.s
eh-directive-personality-diagnostics.s
eh-directive-personality.s Don't depend on the order relocations are written to a .o file. 2015-04-16 12:59:30 +00:00
eh-directive-personalityindex-diagnostics.s
eh-directive-personalityindex.s Don't depend on the order relocations are written to a .o file. 2015-04-16 12:59:30 +00:00
eh-directive-save-diagnostics.s
eh-directive-save.s
eh-directive-section-comdat.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
eh-directive-section-multiple-func.s Write the section header string table directly to the output stream. 2015-04-29 20:25:24 +00:00
eh-directive-section.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
eh-directive-setfp-diagnostics.s
eh-directive-setfp.s
eh-directive-text-section-multiple-func.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
eh-directive-text-section.s Write the section header string table directly to the output stream. 2015-04-29 20:25:24 +00:00
eh-directive-unwind_raw-diagnostics.s
eh-directive-unwind_raw.s
eh-directive-vsave-diagnostics.s
eh-directive-vsave.s
eh-link.s Write sections mostly in one pass. 2015-04-30 14:21:49 +00:00
elf-eflags-eabi.s
elf-jump24-fixup.s
elf-movt.s No need to check the raw relocation bytes if checking the parsed dump. 2015-06-04 15:21:17 +00:00
elf-reloc-01.s Convert a few tests to use llvm-mc. 2015-06-18 13:39:07 +00:00
elf-reloc-02.s Revert r240302 ("Bring r240130 back."). 2015-06-23 11:31:32 +00:00
elf-reloc-03.s Convert a few tests to use llvm-mc. 2015-06-18 13:39:07 +00:00
elf-reloc-condcall.s Update tests to not be as dependent on section numbers. 2015-04-15 15:59:37 +00:00
elf-thumbfunc-reloc2.s Convert a few tests to use llvm-mc. 2015-06-18 13:39:07 +00:00
elf-thumbfunc-reloc.s Don't constrain the section order in tests that don't depend on it. 2015-04-29 13:55:07 +00:00
elf-thumbfunc.s
fconst.s
fixup-cpu-mode.s
fp-armv8.s
fp-const-errors.s
full_line_comment.s
gas-compl-copr-reg.s
hilo-16bit-relocations.s
idiv.s
inst-arm-suffixes.s
inst-constant-required.s
inst-directive-emit.s [AArch64] Clean up the ELF streamer a bit. 2015-05-23 16:39:10 +00:00
inst-directive.s
inst-overflow.s
inst-thumb-overflow-2.s
inst-thumb-overflow.s
inst-thumb-suffixes.s
invalid-barrier.s
invalid-crc32.s
invalid-fp-armv8.s
invalid-hint-arm.s
invalid-hint-thumb.s
invalid-idiv.s
invalid-neon-v8.s
invalid-vector-index.s
ldr-pseudo-darwin.s
ldr-pseudo-obj-errors.s
ldr-pseudo-parse-errors.s
ldr-pseudo.s
ldrd-strd-gnu-arm-bad-imm.s
ldrd-strd-gnu-arm.s
ldrd-strd-gnu-sp.s
ldrd-strd-gnu-thumb-bad-regs.s
ldrd-strd-gnu-thumb.s
lit.local.cfg
load-store-acquire-release-v8-thumb.s
load-store-acquire-release-v8.s
ltorg-darwin.s
ltorg.s
macho-relocs-with-addend.s
mapping-within-section.s
mode-switch.s
move-banked-regs.s
mul-v4.s
multi-section-mapping.s
neon-abs-encoding.s
neon-absdiff-encoding.s
neon-add-encoding.s
neon-bitcount-encoding.s
neon-bitwise-encoding.s
neon-cmp-encoding.s
neon-convert-encoding.s
neon-crypto.s
neon-dup-encoding.s
neon-minmax-encoding.s
neon-mov-encoding.s
neon-mov-vfp.s
neon-mul-accum-encoding.s
neon-mul-encoding.s
neon-neg-encoding.s
neon-pairwise-encoding.s
neon-reciprocal-encoding.s
neon-reverse-encoding.s
neon-satshift-encoding.s
neon-shift-encoding.s
neon-shiftaccum-encoding.s
neon-shuffle-encoding.s
neon-sub-encoding.s
neon-table-encoding.s
neon-v8.s
neon-vld-encoding.s
neon-vld-vst-align.s
neon-vst-encoding.s
neon-vswp.s
neont2-abs-encoding.s
neont2-absdiff-encoding.s
neont2-add-encoding.s
neont2-bitcount-encoding.s
neont2-bitwise-encoding.s
neont2-cmp-encoding.s
neont2-convert-encoding.s
neont2-dup-encoding.s
neont2-minmax-encoding.s
neont2-mov-encoding.s
neont2-mul-accum-encoding.s
neont2-mul-encoding.s
neont2-neg-encoding.s
neont2-pairwise-encoding.s
neont2-reciprocal-encoding.s
neont2-reverse-encoding.s
neont2-satshift-encoding.s
neont2-shift-encoding.s
neont2-shiftaccum-encoding.s
neont2-shuffle-encoding.s
neont2-sub-encoding.s
neont2-table-encoding.s
neont2-vld-encoding.s
neont2-vst-encoding.s
not-armv4.s
obsolete-v8.s
pool.s
pr11877.s
pr22395-2.s
pr22395.s
relocated-mapping.s
simple-fp-encoding.s
single-precision-fp.s
symbol-variants-errors.s
symbol-variants.s
target-expressions.s
thumb1-relax-adr.s ARM: do not relax Thumb1 -> Thumb2 if only Thumb1 is available. 2015-04-06 18:44:42 +00:00
thumb1-relax-bcc.s ARM: do not relax Thumb1 -> Thumb2 if only Thumb1 is available. 2015-04-06 18:44:42 +00:00
thumb1-relax-br.s ARM: do not relax Thumb1 -> Thumb2 if only Thumb1 is available. 2015-04-06 18:44:42 +00:00
thumb1-relax-ldrlit.s ARM: do not relax Thumb1 -> Thumb2 if only Thumb1 is available. 2015-04-06 18:44:42 +00:00
thumb2-b.w-encodingT4.s
thumb2-branches.s
thumb2-bxj-v8.s Fix BXJ is undefined in AArch32. 2015-04-15 17:28:23 +00:00
thumb2-bxj.s Fix BXJ is undefined in AArch32. 2015-04-15 17:28:23 +00:00
thumb2-cbn-to-next-inst.s
thumb2-diagnostics.s
thumb2-dsp-diag.s [ARM] Fix typo in subtarget feature list for 7em triple 2015-05-22 14:16:22 +00:00
thumb2-exception-return-mclass.s
thumb2-ldrb-ldrh.s
thumb2-ldrd.s
thumb2-ldrexd-strexd.s
thumb2-mclass.s
thumb2-narrow-dp.ll [ARM] Handle commutativity when converting to tADDhirr in Thumb2 2015-07-13 15:31:48 +00:00
thumb2-pldw.s
thumb2-strd.s
thumb2be-b.w-encoding.s
thumb2be-beq.w-encoding.s
thumb2be-movt-encoding.s
thumb2be-movw-encoding.s
thumb_rewrites.s [ARM] Handle commutativity when converting to tADDhirr in Thumb2 2015-07-13 15:31:48 +00:00
thumb_set-diagnostics.s Change .thumb_set to have the same error checks as .set. 2015-06-22 19:35:57 +00:00
thumb_set.s Change .thumb_set to have the same error checks as .set. 2015-06-22 19:35:57 +00:00
thumb-diagnostics.s [ARM] Add support for ARMV6K subtarget (LLVM) 2015-03-17 11:55:28 +00:00
thumb-far-jump.s
thumb-fp-armv8.s
thumb-hints.s
thumb-invalid-crypto.txt
thumb-load-store-multiple.s
thumb-neon-crypto.s
thumb-neon-v8.s
thumb-not-mclass.s
thumb-only-conditionals.s
thumb-shift-encoding.s
thumb-st_other.s
thumb-types.s
thumb.s
thumbv7em.s
thumbv7m.s
udf-arm-diagnostics.s
udf-arm.s
udf-thumb-2-diagnostics.s
udf-thumb-2.s
udf-thumb-diagnostics.s
udf-thumb.s
unwind-stack-diagnostics.s
v8_IT_manual.s
variant-diagnostics.s
vfp4.s
vfp-aliases-diagnostics.s
vfp-aliases.s
virtexts-arm.s
virtexts-thumb.s
vmov-vmvn-byte-replicate.s
vmov-vmvn-illegal-cases.s
vorr-vbic-illegal-cases.s
vpush-vpop.s