llvm-project/llvm/lib/Transforms
Ryan Govostes 653f9d0273 [asan] Support dead code stripping on Mach-O platforms
On OS X El Capitan and iOS 9, the linker supports a new section
attribute, live_support, which allows dead stripping to remove dead
globals along with the ASAN metadata about them.

With this change __asan_global structures are emitted in a new
__DATA,__asan_globals section on Darwin.

Additionally, there is a __DATA,__asan_liveness section with the
live_support attribute. Each entry in this section is simply a tuple
that binds together the liveness of a global variable and its ASAN
metadata structure. Thus the metadata structure will be alive if and
only if the global it references is also alive.

Review: http://reviews.llvm.org/D16737
llvm-svn: 264645
2016-03-28 20:28:57 +00:00
..
Hello Remove autoconf support 2016-01-26 21:29:08 +00:00
IPO [ThinLTO] Add optional import message and statistics 2016-03-27 15:27:30 +00:00
InstCombine Minor code cleanup. NFC. 2016-03-23 01:38:35 +00:00
Instrumentation [asan] Support dead code stripping on Mach-O platforms 2016-03-28 20:28:57 +00:00
ObjCARC ADT: Remove == and != comparisons between ilist iterators and pointers 2016-02-21 20:39:50 +00:00
Scalar Revert "[SimlifyCFG] Prevent passes from destroying canonical loop structure, especially for nested loops" 2016-03-28 18:07:40 +00:00
Utils Revert "[SimlifyCFG] Prevent passes from destroying canonical loop structure, especially for nested loops" 2016-03-28 18:07:40 +00:00
Vectorize [SLP] Remove unnecessary member variables by using container APIs. 2016-03-21 19:47:44 +00:00
CMakeLists.txt
LLVMBuild.txt