1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 10:42:39 +01:00
llvm-mirror/test/Linker/Inputs
Scott Linder 538dfe3e23 Implement -frecord-command-line (-frecord-gcc-switches)
Implement options in clang to enable recording the driver command-line
in an ELF section.

Implement a new special named metadata, llvm.commandline, to support
frontends embedding their command-line options in IR/ASM/ELF.

This differs from the GCC implementation in some key ways:

* In GCC there is only one command-line possible per compilation-unit,
  in LLVM it mirrors llvm.ident and multiple are allowed.
* In GCC individual options are separated by NULL bytes, in LLVM entire
  command-lines are separated by NULL bytes. The advantage of the GCC
  approach is to clearly delineate options in the face of embedded
  spaces. The advantage of the LLVM approach is to support merging
  multiple command-lines unambiguously, while handling embedded spaces
  with escaping.

Differential Revision: https://reviews.llvm.org/D54487
Clang Differential Revision: https://reviews.llvm.org/D54489

llvm-svn: 349155
2018-12-14 15:38:15 +00:00
..
apple-version
2003-01-30-LinkerRename.ll
2003-05-31-LinkerRename.ll
alias-2.ll
alias.ll
alignment.ll
available_externally_over_decl.ll
basiclink.a.ll
basiclink.b.ll
comdat2.ll
comdat3.ll
comdat4.ll
comdat5.ll
comdat8.ll
comdat11.ll
comdat13.ll
comdat14.ll
comdat15.ll
comdat16.ll
comdat-rm-dst.ll
comdat.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
ConstantGlobals.ll
constructor-comdat.ll
ctors2.ll
ctors3.ll
ctors.ll
datalayout-a.ll
datalayout-b.ll
dicompositetype-unique.ll
distinct.ll
drop-debug.bc
funcimport2.ll
funcimport_appending_global.ll
funcimport_comdat.ll
funcimport.ll
ident.a.ll
ident.b.ll
internalize-lazy.ll
linkage2.ll
linkage.a.ll
linkage.b.ll
linkage.c.ll
linkage.d.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 [DebugInfo] Add remaining files to r325970 2018-02-23 23:13:18 +00:00
metadata-source-b.ll [DebugInfo] Add remaining files to r325970 2018-02-23 23:13:18 +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
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 [Linker] PR33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globals 2017-08-09 20:58:39 +00:00
only-needed-ctors.ll [Linker] PR33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globals 2017-08-09 20:58:39 +00:00
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 [Linker] PR33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globals 2017-08-09 20:58:39 +00:00
only-needed-named-metadata.ll
only-needed-recurse.ll
only-needed-used.ll [Linker] PR33527 - Linker::LinkOnlyNeeded should import AppendingLinkage globals 2017-08-09 20:58:39 +00:00
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
PR8300.a.ll
PR8300.b.ll
PR11464.a.ll
PR11464.b.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 Enhance synchscope representation 2017-07-11 22:23:00 +00:00
syncscope-2.ll Enhance synchscope representation 2017-07-11 22:23:00 +00:00
targettriple-a.ll
targettriple-b.ll
targettriple-c.ll
testlink.ll
thinlto_funcimport_debug.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
thumb-module-inline-asm.ll [Linker] Add directives to support mixing ARM/Thumb module-level inline asm. 2017-07-12 11:52:28 +00:00
thumb.ll [Linker] Remove warning when linking ARM and Thumb IR modules. 2017-06-07 09:17:01 +00:00
type-unique-alias.ll
type-unique-dst-types2.ll
type-unique-dst-types3.ll
type-unique-inheritance-a.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
type-unique-inheritance-b.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
type-unique-name.ll
type-unique-opaque.ll
type-unique-simple2-a.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00:00
type-unique-simple2-b.ll [DebugInfo] Add DILabel metadata and intrinsic llvm.dbg.label. 2018-05-09 02:40:45 +00: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