1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test
Peter Collingbourne b4e42bd45e LTO: Apply global DCE to ThinLTO modules at LTO opt level 0.
This is necessary because DCE is applied to full LTO modules. Without
this change, a reference from a dead ThinLTO global to a dead full
LTO global will result in an undefined reference at link time.

This problem is only observable when --gc-sections is disabled, or
when targeting COFF, as the COFF port of lld requires all symbols to
have a definition even if all references are dead (this is consistent
with link.exe).

This change also adds an EliminateAvailableExternally pass at -O0. This
is necessary to handle the situation on Windows where a non-prevailing
copy of a linkonce_odr function has an SEH filter function; any
such filters must be DCE'd because they will contain a call to the
llvm.localrecover intrinsic, passing as an argument the address of the
function that the filter belongs to, and llvm.localrecover requires
this function to be defined locally.

Fixes PR35142.

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

llvm-svn: 317108
2017-11-01 17:58:39 +00:00
..
Analysis [BranchProbabilityInfo] Handle irreducible loops. 2017-11-01 15:16:50 +00:00
Assembler Represent runtime preemption in the IR. 2017-10-26 15:00:26 +00:00
Bindings
Bitcode Represent runtime preemption in the IR. 2017-10-26 15:00:26 +00:00
BugPoint
CodeGen [X86] Regnerate test to attempt to fix build bot failure. 2017-11-01 17:44:12 +00:00
DebugInfo [codeview] Merge file checksum entries for DIFiles with the same absolute path 2017-10-31 21:52:15 +00:00
DllTool
Examples
ExecutionEngine [mips] Adds support for R_MIPS_26, HIGHER, HIGHEST relocations in RuntimeDyld. 2017-10-22 09:47:41 +00:00
Feature
FileCheck
Instrumentation [asan] Upgrade private linkage globals to internal linkage on COFF 2017-10-31 16:16:08 +00:00
Integer
JitListener
LibDriver
Linker Verifier: Ignore CUs pulled in by ODR-uniqued types. 2017-10-18 01:11:01 +00:00
LTO LTO: Apply global DCE to ThinLTO modules at LTO opt level 0. 2017-11-01 17:58:39 +00:00
MC [X86][AsmParser] Treat '%' as the modulo operator under Intel syntax 2017-10-31 16:47:38 +00:00
Object Revert "Add support for writing 64-bit symbol tables for archives when offsets become too large for 32-bit" 2017-10-27 23:39:31 +00:00
ObjectYAML
Other Add CalledValuePropagation pass 2017-10-25 13:40:08 +00:00
SafepointIRVerifier
SymbolRewriter
TableGen [globalisel][tablegen] Fix small spelling nits. NFC 2017-10-20 20:55:29 +00:00
ThinLTO/X86 [ThinLTO] Make test for promoted names more specific 2017-10-25 03:41:31 +00:00
tools [dsymutil][NFC} Rename thread related command line options 2017-11-01 17:15:29 +00:00
Transforms loop-rotate: avoid duplicating dbg.value intrinsics in the entry block. 2017-11-01 17:28:50 +00:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt Add test dependency on llvm-cfi-verify to fix up the build breakages on sanitizers. 2017-11-01 00:49:45 +00:00
lit.cfg.py Don't set static-libs test feature when using LLVM_LINK_LLVM_DYLIB 2017-10-18 19:37:30 +00:00
lit.site.cfg.py.in Fix lit.site.cfg.py.in after rL316123 2017-10-18 20:46:05 +00:00
TestRunner.sh