[PATCH] D26772: [asan] Turn on Mach-O global metadata liveness tracking by default
Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Nov 17 09:05:38 PST 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL287235: [asan] Turn on Mach-O global metadata liveness tracking by default (authored by zaks).
Changed prior to commit:
https://reviews.llvm.org/D26772?vs=78278&id=78371#toc
Repository:
rL LLVM
https://reviews.llvm.org/D26772
Files:
llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/trunk/test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll
Index: llvm/trunk/test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll
===================================================================
--- llvm/trunk/test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll
+++ llvm/trunk/test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll
@@ -2,7 +2,7 @@
; allowing dead stripping to be performed, and that the appropriate runtime
; routines are invoked.
-; RUN: opt < %s -asan -asan-module -asan-globals-live-support -S | FileCheck %s
+; RUN: opt < %s -asan -asan-module -S | FileCheck %s
target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128"
target triple = "x86_64-apple-macosx10.11.0"
Index: llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -268,7 +268,7 @@
cl::desc("Use linker features to support dead "
"code stripping of globals "
"(Mach-O only)"),
- cl::Hidden, cl::init(false));
+ cl::Hidden, cl::init(true));
// Debug flags.
static cl::opt<int> ClDebug("asan-debug", cl::desc("debug"), cl::Hidden,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D26772.78371.patch
Type: text/x-patch
Size: 1379 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161117/30ffa863/attachment.bin>
More information about the llvm-commits
mailing list