1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/Bitcode/Inputs
Steven Wu b1abd6ff52 [Bitcode] Avoid duplicating linker option when upgrading
Summary:
The upgrading path from old ModuleFlag based linker options to the new
NamedMetadata based linker option in in materializeMetadata() which gets
called once for the module and once for every GV. The linker options are
getting dup'ed every time and it can create massive amount of the linker
options in the object file that gets created from old bitcode. Fix the
problem by checking if the new option exists or not before upgrade
again.

rdar://64543389

Reviewers: pcc, t.p.northover, dexonsmith, arphaman

Reviewed By: arphaman

Subscribers: hiraditya, jkorous, ributzka, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D83688
2020-07-23 13:07:28 -07:00
..
apple-clang-700-O3-g-1.bc
branch-weight.bc
byval-upgrade.bc
infer_dso_local.bc
invalid-abbrev-fixed-size-too-big.bc
invalid-abbrev-no-operands.bc
invalid-abbrev-vbr-size-too-big.bc
invalid-abbrev.bc
invalid-alias-type-mismatch.bc
invalid-align.bc
invalid-array-element-type.bc
invalid-array-op-not-2nd-to-last.bc
invalid-array-operand-encoding.bc
invalid-array-type.bc
invalid-bad-abbrev-number.bc
invalid-bitwidth.bc
invalid-call-mismatched-explicit-type.bc
invalid-call-non-function-explicit-type.bc
invalid-cast.bc
invalid-code-len-width.bc
invalid-empty.bc
invalid-extract-0-indices.bc
invalid-extractval-array-idx.bc
invalid-extractval-struct-idx.bc
invalid-extractval-too-many-idxs.bc
invalid-fcmp-opnum.bc
invalid-fp-shift.bc
invalid-function-argument-type.bc
invalid-function-comdat-id.bc
invalid-fwdref-type-mismatch-2.bc
invalid-fwdref-type-mismatch.bc
invalid-GCTable-overflow.bc
invalid-gep-mismatched-explicit-type.bc
invalid-gep-no-operands.bc
invalid-gep-operator-mismatched-explicit-type.bc
invalid-global-var-comdat-id.bc
invalid-insert-0-indices.bc
invalid-inserted-value-type-mismatch.bc
invalid-insertval-array-idx.bc
invalid-insertval-struct-idx.bc
invalid-insertval-too-many-idxs.bc
invalid-invoke-mismatched-explicit-type.bc
invalid-invoke-non-function-explicit-type.bc
invalid-load-mismatched-explicit-type.bc
invalid-load-pointer-type.bc
invalid-load-ptr-type.bc
invalid-metadata-not-followed-named-node.bc
invalid-name-with-0-byte.bc
invalid-no-function-block.bc
invalid-no-proper-module.bc
invalid-non-vector-extractelement.bc
invalid-non-vector-insertelement.bc
invalid-non-vector-shufflevector.bc
invalid-nonpointer-atomicrmw.bc
invalid-nonpointer-storeatomic.bc
invalid-pointer-element-type.bc
invalid-pr20485.bc
invalid-too-big-fwdref.bc
invalid-type-table-forward-ref.bc
invalid-unexpected-eof.bc
invalid-vector-element-type.bc
invalid-vector-length.bc
invalid-void-constant.bc
linker-options.bc
module_hash.ll
module-hash-strtab1.ll
module-hash-strtab2.ll
multi-module.ll
padding-garbage.bc
padding.bc
PR23310.bc
source-filename.bc
thinlto-alias.ll
thinlto-function-summary-callgraph-combined.1.bc
thinlto-function-summary-callgraph-pgo-combined.1.bc
thinlto-function-summary-callgraph-pgo.1.bc
thinlto-function-summary-callgraph-profile-summary.ll
thinlto-function-summary-callgraph-sample-profile-summary.ll
thinlto-function-summary-callgraph.1.bc
thinlto-function-summary-callgraph.ll