1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools
Teresa Johnson 9937f43a8d [ThinLTO] Pass down opt level to LTO backend and handle -O0 LTO in new PM
Summary:
The opt level was not being passed down to the ThinLTO backend when
invoked via clang (for distributed ThinLTO).

This exposed an issue where the new PM was asserting if the Thin or
regular LTO backend pipelines were invoked with -O0 (not a new issue,
could be provoked by invoking in-process *LTO backends via linker using
new PM and -O0). Fix this similar to the old PM where -O0 only does the
necessary lowering of type metadata (WPD and LowerTypeTest passes) and
then quits, rather than asserting.

Reviewers: xur

Subscribers: mehdi_amini, inglorion, eraman, hiraditya, steven_wu, dexonsmith, cfe-commits, llvm-commits, pcc

Tags: #clang, #llvm

Differential Revision: https://reviews.llvm.org/D61022

llvm-svn: 359025
2019-04-23 18:56:19 +00:00
..
dsymutil [dsymutil] Put Swift interface files into a per-arch subdirectory. 2019-04-23 16:42:35 +00:00
gold [ThinLTO] Pass down opt level to LTO backend and handle -O0 LTO in new PM 2019-04-23 18:56:19 +00:00
llvm-ar
llvm-cfi-verify
llvm-config
llvm-cov
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-cxxmap
llvm-diff
llvm-dlltool
llvm-dwarfdump [DWARF] Set discriminator to 0 for DW_LNS_copy 2019-04-11 02:02:44 +00:00
llvm-dwp
llvm-elfabi
llvm-exegesis [llvm-exegesis] Fix serialization/deserialization of special NoRegister register (PR41448) 2019-04-11 07:20:50 +00:00
llvm-extract
llvm-isel-fuzzer
llvm-lib
llvm-lit
llvm-lto
llvm-lto2
llvm-mc
llvm-mca [MCA] Remove wrong comments from a test. NFC 2019-04-11 10:15:04 +00:00
llvm-modextract
llvm-mt
llvm-nm Make llvm-nm -help great again 2019-04-11 15:22:48 +00:00
llvm-objcopy [llvm-objcopy] Add -B mips 2019-04-18 14:22:37 +00:00
llvm-objdump [llvm] Prevent duplicate files in debug line header in dwarf 5: another attempt 2019-04-19 02:26:56 +00:00
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbdump
llvm-profdata
llvm-rc
llvm-readobj [llvm-readelf] Correctly dump symbols whose section id is SHN_XINDEX 2019-04-15 11:21:47 +00:00
llvm-size
llvm-split
llvm-strings
llvm-symbolizer Change \r\n -> \n for llvm-symbolizer/help.test after rL358749 2019-04-19 12:28:36 +00:00
llvm-xray/X86
lto
obj2yaml MinidumpYAML: Add support for ModuleList stream 2019-04-18 14:57:31 +00:00
opt-viewer
sancov
sanstats
yaml2obj