llvm-project/lld/test/ELF/lto
Scott Linder 45ee0a9afc [LLD] Add --lto-CGO[0-3] option
Allow controlling the CodeGenOpt::Level independent of the LTO
optimization level in LLD via new options for the COFF, ELF, MachO, and
wasm frontends to lld. Most are spelled as --lto-CGO[0-3], but COFF is
spelled as -opt:lldltocgo=[0-3].

See D57422 for discussion surrounding the issue of how to set the CG opt
level. The ultimate goal is to let each function control its CG opt
level, but until then the current default means it is impossible to
specify a CG opt level lower than 2 while using LTO. This option gives
the user a means to control it for as long as it is not handled on a
per-function basis.

Reviewed By: MaskRay, #lld-macho, int3

Differential Revision: https://reviews.llvm.org/D141970
2023-02-15 17:34:35 +00:00
..
Inputs
aarch64.ll
abs-resol.ll
amdgcn-oses.ll
amdgcn.ll
archive-2.ll
archive-3.ll
archive-mixed.test
archive-no-index.ll
archive.ll
arm-wrap-personality.ll
asmundef.ll
available-externally.ll
basic-block-sections.ll
bitcode-nodatalayout.ll
bitcode-wrapper.ll
cache-warnings.ll
cache.ll
cgo.ll
codemodel.ll
combined-lto-object-name.ll
comdat-mixed-archive.test
comdat-nodeduplicate.ll
comdat.ll
comdat2.ll
common.ll
common2.ll
common3.ll
common4.ll
cpu-string.ll
ctor-dtor-alias2.ll
ctors.ll
debugger-tune.ll
defsym.ll
deplibs.s
devirt_split_unit_localize.ll
devirt_vcall_vis_export_dynamic.ll
devirt_vcall_vis_localize.ll
devirt_vcall_vis_public.ll
devirt_vcall_vis_shared_def.ll
discard-value-names.ll
drop-debug-info.ll
drop-linkage.ll
duplicated-name.ll
duplicated.ll
dynamic-list.ll
dynsym.ll
emit-asm.ll
emit-llvm.ll
exclude-libs-libcall.ll
hexagon.ll
init-fini.ll
inline-asm-err.ll
inline-asm.ll
internalize-basic.ll
internalize-exportdyn.ll
internalize-llvmused.ll
internalize-undef.ll
internalize-version-script.ll
irmover-error.ll
irmover-warning.ll
keep-undefined.ll
lazy-internal.ll
libcall-archive.ll
linkage.ll
linker-script-symbols-assign.ll
linker-script-symbols-ipo.ll
linker-script-symbols.ll
linkonce-odr.ll
linkonce.ll
lto-start.ll
ltopasses-basic.ll
ltopasses-custom.ll
ltopasses-extension.ll
metadata.ll
mix-platforms.ll
mix-platforms2.ll
mllvm.ll
module-asm.ll
new-pass-manager.ll
non-ascii-filenames.ll
obj-path.ll
opt-level.ll
opt-remarks-incomplete.ll
opt-remarks.ll
parallel-internalize.ll
parallel.ll
pgo-warn-mismatch.ll
pic.ll
ppc.ll
pseudo-probe-lto.ll
r600.ll
relax-relocs.ll
relocatable.ll
relocation-model-pic.ll
relocation-model-static.ll
resolution-err.ll
resolution.ll
riscv-attributes.ll
riscv.ll
sample-profile.ll
save-temps-eq.ll
save-temps.ll
section-name.ll
setting-dso-local.ll
shlib-undefined.ll
slp-vectorize-pm.ll
start-lib.ll
stats-file-option.ll
symbol-ordering-data.s
symbol-ordering-function.s
thin-archivecollision.ll
thinlto-cant-write-index.ll
thinlto-debug-fission.ll
thinlto-emit-imports.ll
thinlto-emit-index-thin-archive.ll
thinlto-emit-index.ll
thinlto-index-file.ll
thinlto-index-only.ll
thinlto-obj-path.ll
thinlto-object-suffix-replace.ll
thinlto-prefix-replace.ll
thinlto-single-module.ll
thinlto-time-trace.ll
thinlto.ll
timepasses.ll
tls-mixed.ll
tls-preserve.ll
type-merge.ll
type-merge2.ll
undef-mixed.ll
undef-mixed2.test
undef-weak-lazy.ll
undef-weak.ll
undef.ll
undefined-puts.ll
unnamed-addr-comdat.ll
unnamed-addr-drop.ll
unnamed-addr-lib.ll
unnamed-addr.ll
update_public_type_test.ll
verify-invalid.ll
version-libcall.ll
version-script.ll
version-script2.ll
visibility.ll
warn-backrefs.ll
weak.ll
weakodr-visibility.ll
wrap-1.ll
wrap-2.ll
wrap-defined.ll
wrap-script-referenced.ll
wrap-unreferenced-before-codegen.test