llvm.org GIT mirror llvm / f29212f
[asan] Turn on Mach-O global metadata liveness tracking by default This patch turns on the metadata liveness tracking since all known issues have been resolved. The future has been implemented in https://reviews.llvm.org/D16737 and enables support of dead code stripping option on Mach-O platforms. As part of enabling the feature, I also plan on reverting the following patch to compiler-rt: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20160704/369910.html Differential Revision: https://reviews.llvm.org/D26772 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287235 91177308-0d34-0410-b5e6-96231b3b80d8 Anna Zaks 4 years ago
2 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
267267 cl::desc("Use linker features to support dead "
268268 "code stripping of globals "
269269 "(Mach-O only)"),
270 cl::Hidden, cl::init(false));
270 cl::Hidden, cl::init(true));
272272 // Debug flags.
273273 static cl::opt ClDebug("asan-debug", cl::desc("debug"), cl::Hidden,
11 ; allowing dead stripping to be performed, and that the appropriate runtime
22 ; routines are invoked.
4 ; RUN: opt < %s -asan -asan-module -asan-globals-live-support -S | FileCheck %s
4 ; RUN: opt < %s -asan -asan-module -S | FileCheck %s
66 target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
77 target triple = "x86_64-apple-macosx10.11.0"