diff options
| author | 2016-11-14 19:47:29 +0000 | |
|---|---|---|
| committer | 2016-11-14 19:47:29 +0000 | |
| commit | 22d12a89e62890315104112636b71f7be9c95fb1 (patch) | |
| tree | beefc81a7ad5d62cff340120cd03da0267082a5a /services/surfaceflinger/SurfaceFlinger.cpp | |
| parent | 45cee75031b092c198ddb22d721e43b0a0b05a22 (diff) | |
| parent | 5c58020c006c97bb7b535c3f20c16c1371005ae9 (diff) | |
Merge "Revert "Workaround alloc-dealloc-mismatch error on ASan device boot.""
am: 5c58020c00
Change-Id: I107ce2043fd261b08413418825daf6c35f808228
Diffstat (limited to 'services/surfaceflinger/SurfaceFlinger.cpp')
| -rw-r--r-- | services/surfaceflinger/SurfaceFlinger.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/services/surfaceflinger/SurfaceFlinger.cpp b/services/surfaceflinger/SurfaceFlinger.cpp index 30ebfd56f6..8db071ed2f 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 |