1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/test/MC/ELF
Yuanfang Chen f44fb33098 [LTO][MC] Discard non-prevailing defined symbols in module-level assembly
This is the alternative approach to D96931.

In LTO, for each module with inlineasm block, prepend directive ".lto_discard <sym>, <sym>*" to the beginning of the inline
asm.  ".lto_discard" is both a module inlineasm block marker and (optionally) provides a list of symbols to be discarded.

In MC while emitting for inlineasm, discard symbol binding & symbol
definitions according to ".lto_disard".

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D98762
2021-03-18 15:33:42 -07:00
..
ARM ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
abs.s
addrsig-error.s
addrsig.s [MC] Parse end-of-line for .addrsig & .addrsig_sym 2021-03-06 16:26:27 -08:00
alias-reloc.s
alias-to-local.s
alias.s ELFObjectWriter: Don't sort local symbols 2021-02-07 15:47:10 -08:00
align-bss.s
align-nops.s
align-size.s
align-text.s
align-zero.s
align.s
bad-expr2.s
bad-expr3.s
bad-expr.s
bad-relocation.s
bad-section.s
basic-elf-32.s [MC][ELF] Allow STT_SECTION referencing SHF_MERGE on REL targets 2020-12-20 18:37:14 -08:00
basic-elf-64.s
bracket-exprs.s
bracket.s
bss-large.ll
bss.ll
call-abs.s
cfi-adjust-cfa-offset.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-advance-loc2.s
cfi-b-key-frame.s
cfi-def-cfa-offset.s
cfi-def-cfa-register.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-def-cfa.s
cfi-escape.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-fde-encoding.s [MC][test] Reorganize .cfi_* tests 2020-12-21 17:18:28 -08:00
cfi-large-model.s
cfi-offset.s
cfi-reg.s
cfi-register.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-rel-offset2.s
cfi-rel-offset.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-remember.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-restore-extended.s Show register names in DWARF unwind info. 2020-10-05 15:34:33 -07:00
cfi-restore.s
cfi-return-column.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-same-value.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-scope-errors2.s [MC][test] Reorganize .cfi_* tests 2020-12-21 17:18:28 -08:00
cfi-scope-errors.s [MC][test] Reorganize .cfi_* tests 2020-12-21 17:18:28 -08:00
cfi-sections-empty.s [MC] Allow .cfi_sections with empty section list 2021-02-25 22:29:49 -08:00
cfi-sections.s
cfi-signal-frame.s
cfi-undefined.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-version.ll mac/arm: XFAIL the last 2 failing check-llvm tests 2020-12-12 20:12:02 -05:00
cfi-window-save.s [MC] Parse end-of-line for .cfi_* directives 2021-03-06 16:20:55 -08:00
cfi-zero-addr-delta.s
cfi.s [MC] Add parseEOL() overload and migrate some parseToken(AsmToken::EndOfStatement) to parseEOL() 2021-03-06 17:45:23 -08:00
cgprofile-error.s
cgprofile.ll
cgprofile.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
comdat-declaration-errors.s
comdat-name-number.s
comdat-reloc.s
comdat.s
common2.s
common-error1.s
common-error2.s
common-error3.s
common-redeclare.s
common.s
comp-dir.s
compression.s [MC][ELF] Allow STT_SECTION referencing SHF_MERGE on REL targets 2020-12-20 18:37:14 -08:00
debug-file-options.s
debug-hash-file.s
debug-line2.s
debug-line.s
debug-loc.s
debug-main-file.s
debug-md5-err.s
debug-md5.s
debug-mixed-md5.ll
debug-prefix-map.s
debug-source.s
diff2.s
diff.s
discriminator.s [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
div-by-zero.s
dot-symbol-assignment.s
dwarf64-err.s
dwarf-file0.s [MC] Upgrade DWARF version to 5 upon .file 0 2021-02-02 09:41:05 -08:00
dwarf-loc0.s [MC] Upgrade DWARF version to 5 upon .file 0 2021-02-02 09:41:05 -08:00
dwo-restrict-relocs.s
dwo-sections.s
elf_directive_previous.s
elf_directive_section.s
empty-dwarf-lines.s
empty-twice.ll
empty.s
entsize.ll
entsize.s
exclude-debug-dwo.s
expand-var.s [MC][test] Reorganize .cfi_* tests 2020-12-21 17:18:28 -08:00
file.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
gen-dwarf64.s
gen-dwarf.s [llvm-readobj] - For SHT_REL relocations, don't display an addend. 2020-12-14 12:03:00 +03:00
global-offset.s
gnu-type-diagnostics.s
gnu-type.s
got-relaxed-i386.s
got-relaxed-no-relax.s
got.s [X86] Produce R_X86_64_GOTPCRELX for test/binop instructions (MOV32rm/TEST32rm/...) when -Wa,-mrelax-relocations=yes is enabled 2020-10-24 15:14:17 -07:00
ident.s
ifunc-alias.s ELFObjectWriter: Don't sort local symbols 2021-02-07 15:47:10 -08:00
ifunc-reloc.s
lcomm.s
leb128.s
lit.local.cfg
local-reloc.s
lto-discard.s [LTO][MC] Discard non-prevailing defined symbols in module-level assembly 2021-03-18 15:33:42 -07:00
many-sections-2.s ELFObjectWriter: Don't sort local symbols 2021-02-07 15:47:10 -08:00
many-sections-3.s
many-sections.s
merge.s
n_bytes.s
no-fixup.s
no-reloc.s
nobits-non-zero-value.s
nocompression.s
noexec.s
norelocation.s
offset.s
org.s [MC] Allow .org directives in SHT_NOBITS sections 2020-09-11 15:12:42 -07:00
pic-diff.s
plt.s
popsection.s
pr9292.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
pr19430.s
pr19582.s
relax-all-flag.s
relax-arith2.s
relax-arith3.s
relax-arith4.s
relax-arith.s
relax-crash.s
reloc-directive.s
reloc-same-name-section.s ELFObjectWriter: Don't sort local symbols 2021-02-07 15:47:10 -08:00
relocation-386.s [MC][ELF] Allow STT_SECTION referencing SHF_MERGE on REL targets 2020-12-20 18:37:14 -08:00
relocation-alias.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
relocation-pc.s
relocation.s MCExpr::evaluateAsRelocatableImpl : allow evaluation of non-VK_None MCSymbolRefExpr when MCAsmLayout is available 2020-11-18 13:52:33 -08:00
rename.s
section-combine.s
section-entsize-changed.s
section-flags-changed.s [MC][ELF] Accept abbreviated form with sh_flags and sh_entsize 2020-12-11 16:45:45 +00:00
section-gnu.s Add requirement for aarch64-registered-target to test change added in 42e3f97a9dd3a439f63a733c4ee909cba6b77e49. 2021-03-09 12:26:15 -08:00
section-linkorder-error.s
section-linkorder.s
section-numeric-flag.s
section-numeric-invalid-type.s
section-numeric-type.s
section-omitted-attributes.s [MC][ELF] Fix accepting abbreviated form with sh_flags and sh_entsize 2021-01-28 14:54:43 +00:00
section-quoting.s
section-relro.ll
section-sym2.s
section-sym-err2.s
section-sym-err.s [CodeGen] Report a normal instead of fatal error for label redefinition 2021-03-09 10:54:41 +00:00
section-sym.s ELFObjectWriter: Don't sort local symbols 2021-02-07 15:47:10 -08:00
section-type-changed.s
section-unique-err1.s
section-unique-err2.s
section-unique-err3.s
section-unique-err4.s
section-unique.s
section.s
set.s
size.s
sleb.s
strtab-suffix-opt.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
subsection.s
subtraction-error.s
symbol-binding-changed.s [MC] Make MCStreamer aware of AsmParser's StartTokLoc 2020-11-02 12:32:07 -08:00
symbol-names.s
symver-err.s [MC] Report locations for .symver errors 2020-12-20 21:04:12 -08:00
symver-msvc.s
symver-pr23914.s
symver-remove.s [MC] Support .symver *, *, remove 2021-03-06 15:23:02 -08:00
symver-visibility.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
symver.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
target-in-same-section.s
tls-i386.s
tls.s
type-propagate.s ELFObjectWriter: Don't sort local symbols 2021-02-07 15:47:10 -08:00
type.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
uleb-ehtable.s
uleb.s
undef-temp.s
undef.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
undefined-debug.s
undefined-directional.s
version.s
weak-diff.s
weak-relocation.s
weak.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
weakref-plt.s
weakref-reloc.s
weakref.s ELFObjectWriter: Don't sort non-local symbols 2021-02-13 10:32:27 -08:00
x86_64-reloc-sizetest.s
zero.s