1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/test/tools/gold/X86
Teresa Johnson 37dc2d9629 [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends
Summary:
A recent fix to drop dead symbols (r323633) did not work for ThinLTO
distributed backends because we lose the WithGlobalValueDeadStripping
set on the index during the thin link. This patch adds a new flags
record to the bitcode format for the index, and serializes this flag
for the combined index (it would always be 0 for the per-module index
generated by the compile step, so no need to serialize the new flags
record there until/unless we add another flag that applies to the
per-module indexes).

Generally this flag should always be set for the distributed backends,
which are necessarily performed after the thin link. However, if we were
to simply set this flag on the index applied to the distributed backends
(invoked via clang), we would lose the ability to disable dead stripping
via -compute-dead=false for debugging purposes.

Reviewers: grimar, pcc

Subscribers: mehdi_amini, inglorion, eraman, llvm-commits

Differential Revision: https://reviews.llvm.org/D42799

llvm-svn: 324444
2018-02-07 04:05:59 +00:00
..
Inputs
v1.12 [ThinLTO/gold] Write empty imports even for modules with symbols 2018-01-30 21:19:26 +00:00
alias2.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
alias.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
asm_undefined2.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
asm_undefined.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
available-externally.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
bad-alias.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
bcsection.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
cache.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
coff.ll Make internal/private GVs implicitly dso_local. 2018-01-11 22:15:05 +00:00
comdat2.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
comdat.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
common_thinlto.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
common.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
ctors2.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
ctors.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
disable-verify.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
drop-debug.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
drop-linkage.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
emit-llvm.ll Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
error-unopenable.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
global_with_section.ll [ThinLTO] Remove dead and dropped symbol declarations when possible 2018-02-06 00:43:39 +00:00
invalid.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
irmover-error.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
linker-script.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
linkonce-weak.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
lit.local.cfg
mixed_lto.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
module_asm.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
multiple-data.s [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
multiple-sections.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
no-map-whole-file.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
opt-level.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
parallel.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
pr19901_thinlto.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
pr19901.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
pr25907.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
pr25915.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
relax-relocs.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
relocatable.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
relocation-model-pic.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
remarks.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
resolve-to-alias.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
slp-vectorize.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
start-lib-common.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
stats.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
strip_names.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_afdo.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_alias.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_archive.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_emit_imports.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_emit_linked_objects.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_funcimport.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_internalize.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_linkonceresolution.ll Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
thinlto_object_suffix_replace.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_prefix_replace.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_weak_library.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto_weak_resolution.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
thinlto.ll [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends 2018-02-07 04:05:59 +00:00
type-merge2.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
type-merge.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
unnamed-addr.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
vectorize.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
visibility.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00
weak.ll [LLVMgold] Use platform dependent extension in tests 2017-12-14 15:59:05 +00:00