summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Evgenii Stepanov <eugenis@google.com> 2016-11-14 19:26:48 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-11-14 19:26:48 +0000
commit5c58020c006c97bb7b535c3f20c16c1371005ae9 (patch)
tree818401bb64f20b9ba9444a849003a3a53de974e3
parenteda1ddf51887716c73e34df276a8be232ddfe076 (diff)
parent3ed78e47009f4918c4a904c52bd774c93e24c8c1 (diff)
Merge "Revert "Workaround alloc-dealloc-mismatch error on ASan device boot.""
-rw-r--r--services/surfaceflinger/SurfaceFlinger.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp
index 47f5401c13..dd5b034624 100644
--- a/services/surfaceflinger/SurfaceFlinger.cpp
+++ b/services/surfaceflinger/SurfaceFlinger.cpp
@@ -90,19 +90,6 @@
EGLAPI const char* eglQueryStringImplementationANDROID(EGLDisplay dpy, EGLint name);
-// Workaround for b/30067360: /proc/self/environ inaccessible in SurfaceFlinger
-// => ASan fails to read ASAN_OPTIONS => alloc-dealloc-mismatch bug is not
-// suppressed and prevents the device from booting.
-#ifndef __has_feature
-#define __has_feature(x) 0
-#endif
-#if __has_feature(address_sanitizer)
-__attribute__((visibility("default")))
-extern "C" const char* __asan_default_options() {
- return "alloc_dealloc_mismatch=0";
-}
-#endif
-
namespace android {
// This is the phase offset in nanoseconds of the software vsync event