Revert "Added mitigation for b/122921367"
This reverts commit 30f16caf64.
Reason for revert: Clang crash is fixed in `clang-r399163b`.
Change-Id: I97ba2b3fec8e1de7ce999c761e19b33d5c18db1e
Test: lunch aosp_x86-eng; m out/soong/.intermediates/frameworks/base/core/jni/libandroid_runtime/android_x86_shared_asan/obj/frameworks/base/core/jni/com_android_internal_os_Zygote.o
This commit is contained in:
@@ -14,15 +14,6 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
/*
|
||||
* Disable optimization of this file if we are compiling with the address
|
||||
* sanitizer. This is a mitigation for b/122921367 and can be removed once the
|
||||
* bug is fixed.
|
||||
*/
|
||||
#if __has_feature(address_sanitizer)
|
||||
#pragma clang optimize off
|
||||
#endif
|
||||
|
||||
#define LOG_TAG "Zygote"
|
||||
|
||||
// sys/mount.h has to come before linux/fs.h due to redefinition of MS_RDONLY, MS_BIND, etc
|
||||
|
||||
Reference in New Issue
Block a user