llvm-project/llvm/test/Linker/Inputs
Fangrui Song c2a3888793 [IR] Use Min behavior for module flag "PIC Level"
Using Max for both "PIC Level" and "PIE Level" is inconsistent. PIC imposes less
restriction while PIE imposes more restriction. The result generally
picks the more restrictive behavior: Min for PIC.

This choice matches `ld -r`: a non-pic object and a pic object merge into a
result which should be treated as non-pic.

To allow linking "PIC Level" using Error/Max from old bitcode files, upgrade
Error/Max to Min.

Reviewed By: tejohnson

Differential Revision: https://reviews.llvm.org/D130531
2022-08-18 16:28:55 -07:00
..
apple-version
2003-01-30-LinkerRename.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
2003-05-31-LinkerRename.ll
ConstantGlobals.ll
DSOLocalEquivalent.ll [llvm] Change DSOLocalEquivalent type if the underlying global value type changes 2021-03-09 15:09:48 -08:00
PR8300.a.ll
PR8300.b.ll
PR11464.a.ll
PR11464.b.ll
alias-2.ll
alias-threadlocal-defs.ll
alias.ll
alignment.ll
appending-global.ll
available_externally_over_decl.ll
basiclink.a.ll
basiclink.b.ll
byref-type-input.ll
byval-types-1.ll
comdat-rm-dst.ll
comdat.ll
commandline.a.ll
commandline.b.ll
constructor-comdat.ll
ctors.ll
ctors2.ll
ctors3.ll
datalayout-a.ll
datalayout-b.ll
dicompositetype-unique.ll
distinct.ll
drop-debug.bc
elementtype-struct-2.ll Copy Elementtype Attribute to IR at Link step 2021-09-07 11:41:43 -07:00
empty-objc.ll
fixed-vector-type-construction.ll
funcimport.ll
funcimport2.ll
funcimport_appending_global.ll
funcimport_comdat.ll
globalorder-2.ll Preserve the lexical order for global variables during llvm-link merge 2021-04-26 10:11:34 -07:00
ident.a.ll
ident.b.ll
inalloca-type-input.ll Reapply "OpaquePtr: Turn inalloca into a type attribute" 2021-03-29 08:55:30 -04:00
internalize-lazy.ll
libdevice-cuda-9.ll [IRLinker] Suppress linker warnings when linking with CUDA libdevice. 2021-09-01 10:45:15 -07:00
libdevice-cuda-10.ll [IRLinker] Suppress linker warnings when linking with CUDA libdevice. 2021-09-01 10:45:15 -07:00
libdevice-cuda-11.ll [IRLinker] Suppress linker warnings when linking with CUDA libdevice. 2021-09-01 10:45:15 -07:00
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
metadata-mismatch-b.ll
metadata-source-a.ll
metadata-source-b.ll
metadata-with-global-value-operand.ll
module-flags-dont-change-others.ll
module-flags-pic-1-b.ll
module-flags-pic-2-b.ll [IR] Use Min behavior for module flag "PIC Level" 2022-08-18 16:28:55 -07:00
module-max-warn.ll
not-a-libdevice.ll [IRLinker] Suppress linker warnings when linking with CUDA libdevice. 2021-09-01 10:45:15 -07:00
objectivec-class-property-flag-mismatch.ll
odr-lambda-2.ll
odr.ll
old_global_ctors.3.4.bc
only-needed-compiler-used.ll
only-needed-ctors.ll
only-needed-debug-metadata.ll [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02: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 [IR] Enable opaque pointers by default 2022-06-02 09:40:56 +02:00
pr27044.ll
redefinition.ll
replaced-function-matches-first-subprogram.ll
sret-type-input.ll
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 Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02: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 Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
type-unique-inheritance-b.ll Revert "[NFC] remove explicit default value for strboolattr attribute in tests" 2021-05-24 19:43:40 +02:00
type-unique-name.ll
type-unique-opaque.ll
type-unique-simple2-a.ll [AIX] Bump DWARF versions to 3 because XCOFF64 requires DWARF64 2022-02-01 11:18:19 -05:00
type-unique-simple2-b.ll [AIX] Bump DWARF versions to 3 because XCOFF64 requires DWARF64 2022-02-01 11:18:19 -05: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