llvm-project/llvm/test/Linker/Inputs
Itay Bookstein df9d64ed9c [IR] Add missing GlobalAlias copying of ThreadLocalMode attribute
Summary:
Previously, GlobalAlias::copyAttributesFrom did not preserve ThreadLocalMode,
causing incorrect IR generation in IR linking flows. This patch pushes the code
responsible for copying this attribute from GlobalVariable::copyAttributesFrom
down to GlobalValue::copyAttributesFrom so that it is shared by GlobalAlias.
Fixes PR46297.

Reviewers: tejohnson, pcc, hans

Reviewed By: tejohnson, hans

Subscribers: hiraditya, ibookstein, dexonsmith, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D81605
2020-06-16 20:15:27 -07:00
..
apple-version
2003-01-30-LinkerRename.ll
2003-05-31-LinkerRename.ll
ConstantGlobals.ll
PR8300.a.ll
PR8300.b.ll
PR11464.a.ll
PR11464.b.ll
alias-2.ll
alias-threadlocal-defs.ll [IR] Add missing GlobalAlias copying of ThreadLocalMode attribute 2020-06-16 20:15:27 -07:00
alias.ll
alignment.ll
available_externally_over_decl.ll
basiclink.a.ll
basiclink.b.ll
byval-types-1.ll Reapply: IR: add optional type to 'byval' function parameters 2019-05-30 18:48:23 +00:00
comdat-rm-dst.ll
comdat.ll
comdat2.ll
comdat3.ll
comdat4.ll
comdat5.ll
comdat8.ll
comdat11.ll
comdat13.ll
comdat14.ll
comdat15.ll
comdat16.ll
commandline.a.ll Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
commandline.b.ll Implement -frecord-command-line (-frecord-gcc-switches) 2018-12-14 15:38:15 +00:00
constructor-comdat.ll
ctors.ll
ctors2.ll
ctors3.ll
datalayout-a.ll
datalayout-b.ll
dicompositetype-unique.ll
distinct.ll
drop-debug.bc
empty-objc.ll Fix conflict value for metadata "Objective-C Garbage Collection" in the mix of swift and Objective-C bitcode 2020-03-11 13:26:06 -07:00
funcimport.ll
funcimport2.ll
funcimport_appending_global.ll
funcimport_comdat.ll
ident.a.ll
ident.b.ll
internalize-lazy.ll
linkage.a.ll
linkage.b.ll
linkage.c.ll
linkage.d.ll
linkage2.ll
mdlocation.ll
metadata-attach.ll
metadata-function.ll
metadata-mismatch-a.ll llvm-link: Improve diagnostic for module-level metadata mismatch 2018-10-09 01:17:27 +00:00
metadata-mismatch-b.ll llvm-link: Improve diagnostic for module-level metadata mismatch 2018-10-09 01:17:27 +00:00
metadata-source-a.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
metadata-source-b.ll Remove irrelevant references to legacy git repositories from 2019-01-15 16:18:52 +00:00
metadata-with-global-value-operand.ll
module-flags-dont-change-others.ll
module-flags-pic-1-b.ll
module-flags-pic-2-b.ll
module-max-warn.ll IR Linking: Support merging Warning+Max module metadata flags 2020-02-07 16:29:58 -08:00
objectivec-class-property-flag-mismatch.ll
odr-lambda-2.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
odr.ll
old_global_ctors.3.4.bc
only-needed-compiler-used.ll
only-needed-ctors.ll
only-needed-debug-metadata.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
only-needed-dtors.ll
only-needed-named-metadata.ll
only-needed-recurse.ll
only-needed-used.ll
opaque.ll
override-different-linkage.ll
override-with-internal-linkage-2.ll
override-with-internal-linkage.ll
override.ll
pr21374.ll
pr22807-1.ll
pr22807-2.ll
pr26037.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
pr27044.ll
redefinition.ll
replaced-function-matches-first-subprogram.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
subprogram-linkonce-weak.ll
syncscope-1.ll
syncscope-2.ll
targettriple-a.ll
targettriple-b.ll
targettriple-c.ll
testlink.ll
thinlto_funcimport_debug.ll Migrate function attribute "no-frame-pointer-elim"="false" to "frame-pointer"="none" as cleanups after D56351 2019-12-24 16:27:51 -08:00
thumb-module-inline-asm.ll
thumb.ll
type-unique-alias.ll
type-unique-dst-types2.ll
type-unique-dst-types3.ll
type-unique-inheritance-a.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-inheritance-b.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-name.ll
type-unique-opaque.ll
type-unique-simple2-a.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-simple2-b.ll Migrate function attribute "no-frame-pointer-elim" to "frame-pointer"="all" as cleanups after D56351 2019-12-24 15:57:33 -08:00
type-unique-unrelated2.ll
type-unique-unrelated3.ll
unique-fwd-decl-b.ll
unique-fwd-decl-order.ll
visibility.ll
wrong-addrspace-gv-declaration.ll Fix asserts when linking wrong address space declarations 2018-09-24 04:42:14 +00:00