1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00
llvm-mirror/test
Evgeniy Stepanov af44b5b1af [asan] Fix dead stripping of globals on Linux.
Use a combination of !associated, comdat, @llvm.compiler.used and
custom sections to allow dead stripping of globals and their asan
metadata. Sometimes.

Currently this works on LLD, which supports SHF_LINK_ORDER with
sh_link pointing to the associated section.

This also works on BFD, which seems to treat comdats as
all-or-nothing with respect to linker GC. There is a weird quirk
where the "first" global in each link is never GC-ed because of the
section symbols.

At this moment it does not work on Gold (as in the globals are never
stripped).

This is a second re-land of r298158. This time, this feature is
limited to -fdata-sections builds.

llvm-svn: 301587
2017-04-27 20:27:27 +00:00
..
Analysis Reverts commit r301424, r301425 and r301426 2017-04-26 16:37:05 +00:00
Assembler Add support for DW_TAG_thrown_type. 2017-04-26 22:56:44 +00:00
Bindings
Bitcode PR32382: Fix emitting complex DWARF expressions. 2017-04-18 01:21:53 +00:00
BugPoint llvm/test/BugPoint/compile-custom.ll: Use %/s for its path not to be mis-escaped. 2017-04-13 11:40:32 +00:00
CodeGen [X86][SSE] Add tests for broadcast from larger vector loads 2017-04-27 20:19:00 +00:00
DebugInfo [llvm-dwarfdump] - Change format for .gdb_index dump. 2017-04-27 10:00:13 +00:00
Examples
ExecutionEngine
Feature Disable GVN Hoist due to still more bugs being found in it. There is 2017-04-27 00:28:03 +00:00
FileCheck
Instrumentation [asan] Fix dead stripping of globals on Linux. 2017-04-27 20:27:27 +00:00
Integer
JitListener
LibDriver
Linker
LTO LTO: Mark undefined module asm symbols as used. 2017-04-26 17:53:39 +00:00
MC [AMDGPU] DPP: add support for GFX9 2017-04-27 15:42:38 +00:00
Object [llvm-ar] errors go on stderr and not on stdout. 2017-04-05 14:52:17 +00:00
ObjectYAML [WebAssembly] Allow for signed relocation addends 2017-04-26 00:02:31 +00:00
Other Disable GVN Hoist due to still more bugs being found in it. There is 2017-04-27 00:28:03 +00:00
SymbolRewriter
TableGen [globalisel][tablegen] Add support for RegisterOperand. 2017-04-22 15:53:21 +00:00
ThinLTO/X86 Bitcode: Add a string table to the bitcode format. 2017-04-17 17:51:36 +00:00
tools [llvm-readobj] Dump COFF Resources section. 2017-04-27 19:38:38 +00:00
Transforms [PM/LoopUnswitch] Introduce a new, simpler loop unswitch pass. 2017-04-27 18:45:20 +00:00
Unit
Verifier Add support for DW_TAG_thrown_type. 2017-04-26 22:56:44 +00:00
YAMLParser
.clang-format
CMakeLists.txt Add a dependency from llvm/test to llvm-cvtres. 2017-04-21 20:45:11 +00:00
lit.cfg
lit.site.cfg.in
TestRunner.sh