summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Evgenii Stepanov <eugenis@google.com> 2016-11-14 19:58:48 +0000
committer android-build-merger <android-build-merger@google.com> 2016-11-14 19:58:48 +0000
commitdf48bcff26971a805c04f04e3b80ba8f1713bc3b (patch)
treec79067e9cb8b85959acf275431b2fbc9c57f9f09
parent8605678f48d74782c5d8a9abb9afc4bd3d04d07c (diff)
parent22d12a89e62890315104112636b71f7be9c95fb1 (diff)
Merge "Revert "Workaround alloc-dealloc-mismatch error on ASan device boot."" am: 5c58020c00
am: 22d12a89e6 Change-Id: Ie392d157a320fba28e91214af4486d09d671a23a
-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 c84739af9c..db52d40214 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