1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools
Teresa Johnson 37dc2d9629 [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends
Summary:
A recent fix to drop dead symbols (r323633) did not work for ThinLTO
distributed backends because we lose the WithGlobalValueDeadStripping
set on the index during the thin link. This patch adds a new flags
record to the bitcode format for the index, and serializes this flag
for the combined index (it would always be 0 for the per-module index
generated by the compile step, so no need to serialize the new flags
record there until/unless we add another flag that applies to the
per-module indexes).

Generally this flag should always be set for the distributed backends,
which are necessarily performed after the thin link. However, if we were
to simply set this flag on the index applied to the distributed backends
(invoked via clang), we would lose the ability to disable dead stripping
via -compute-dead=false for debugging purposes.

Reviewers: grimar, pcc

Subscribers: mehdi_amini, inglorion, eraman, llvm-commits

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

llvm-svn: 324444
2018-02-07 04:05:59 +00:00
..
dsymutil [DWARF] Regularize dumping strings from line tables. 2018-02-05 20:43:15 +00:00
gold [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends 2018-02-07 04:05:59 +00:00
llvm-ar [llvm-ar] Support an options string that start with a dash 2017-11-03 20:09:10 +00:00
llvm-cfi-verify/X86 [cfi-verify] Add blame context printing, and improved print format. 2018-02-01 23:45:18 +00:00
llvm-config [llvm-config] Fix cflags test looking for "warning" 2017-05-30 20:21:47 +00:00
llvm-cov [llvm-cov] Improvements for summary report generated in HTML format. 2018-01-31 17:37:21 +00:00
llvm-cvtres Fix buffer overrun in WindowsResourceCOFFWriter::writeSymbolTable() 2017-12-18 22:10:14 +00:00
llvm-cxxdump Fix a bug in the code of llvm-cxxdump in dumpArchive() when 2016-10-21 20:03:14 +00:00
llvm-cxxfilt c++filt: support COFF import thunks 2017-03-22 21:15:19 +00:00
llvm-dlltool [COFF] Ignore semicolons in module definition identifiers 2017-12-06 19:18:24 +00:00
llvm-dwarfdump Add missing new files from r324077 2018-02-02 12:45:57 +00:00
llvm-dwp llvm-dwarfdump: automatically dump both regular and .dwo variant of sections 2017-09-13 22:09:01 +00:00
llvm-extract [llvm-extract] Support extracting basic blocks 2018-01-23 21:51:34 +00:00
llvm-isel-fuzzer [llvm-isel-fuzzer] Use "--" as separator rather than '='. 2017-10-13 00:18:32 +00:00
llvm-lib [test] Move llvm-lib tests into tools/llvm-lib. NFC. 2017-11-02 20:05:20 +00:00
llvm-lit
llvm-lto [ThinLTO] Serialize WithGlobalValueDeadStripping index flag for distributed backends 2018-02-07 04:05:59 +00:00
llvm-lto2 Fix the bug that parseAAPipeline is not invoked in runNewPMPasses in release compiler. 2017-08-02 03:03:19 +00:00
llvm-mc
llvm-modextract llvm-modextract: Call keep() on the output stream before exiting. 2016-12-01 23:13:11 +00:00
llvm-mt [llvm-mt] Remove platform-specific path in test 2018-01-05 18:23:22 +00:00
llvm-nm llvm-nm should show a symbol type of T for symbols in the (__TEXT_EXEC,__text) section. 2018-01-31 00:00:41 +00:00
llvm-objcopy [llvm-objcopy] Refactor llvm-objcopy to use reader and writer objects 2018-01-25 22:46:17 +00:00
llvm-objdump [WebAssembly] Remove debug names from symbol table 2018-01-17 19:28:43 +00:00
llvm-opt-fuzzer [llvm-opt-fuzzer] Only run tests for the x86 target. 2017-11-15 13:35:42 +00:00
llvm-opt-report [llvm-opt-report] Fix context-sensitive lines where nothing happened 2017-01-07 20:21:17 +00:00
llvm-pdbdump [pdbutil] Replace 0 byte PDB input with correct version to fix failing unit test 2018-01-17 03:48:07 +00:00
llvm-profdata Profiling tests: Endianess XFAIL for powerpc- (32-bit) 2018-01-09 20:09:23 +00:00
llvm-rc Really fix llvm-rc include-paths.test 2017-10-11 21:27:54 +00:00
llvm-readobj Mark two tests REQUIRES: x86-registered-backend 2018-01-31 07:32:03 +00:00
llvm-size Fix a bug with llvm-size and the -m option with multiple files not printing the file names. 2016-12-01 19:12:55 +00:00
llvm-split Make GlobalValues with non-default visibilility dso_local. 2018-01-18 02:08:23 +00:00
llvm-strings [llvm-strings] Add support for the -a/--all options 2017-11-14 19:58:36 +00:00
llvm-symbolizer [llvm-symbolizer] Fix coff-dwarf.test 2017-09-16 19:01:04 +00:00
llvm-xray/X86 [XRay][tools] Support arg1 logging entries in the basic logging mode 2017-10-05 05:18:17 +00:00
lto LTOModule::isBitcodeFile() shouldn't assert when returning false. 2017-10-31 16:39:47 +00:00
obj2yaml [obj2yaml] Don't crash for input files without symbol table 2017-09-22 09:30:40 +00:00
opt-viewer Fix some opt-viewer test issues and disable on Windows. 2018-01-05 22:05:13 +00:00
sancov [sancov] better input parameters validation 2017-03-03 18:22:20 +00:00
sanstats [sanstats] Remove a flaky test. 2017-07-13 01:36:12 +00:00
yaml2obj Add ELF dynamic symbol support to yaml2obj/obj2yaml 2017-11-16 18:10:15 +00:00