Changeset View
Changeset View
Standalone View
Standalone View
compiler-rt/trunk/lib/asan/tests/asan_asm_test.cc
//===-- asan_asm_test.cc --------------------------------------------------===// | //===-- asan_asm_test.cc --------------------------------------------------===// | ||||
// | // | ||||
// The LLVM Compiler Infrastructure | // The LLVM Compiler Infrastructure | ||||
// | // | ||||
// This file is distributed under the University of Illinois Open Source | // This file is distributed under the University of Illinois Open Source | ||||
// License. See LICENSE.TXT for details. | // License. See LICENSE.TXT for details. | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
// | // | ||||
// This file is a part of AddressSanitizer, an address sanity checker. | // This file is a part of AddressSanitizer, an address sanity checker. | ||||
// | // | ||||
//===----------------------------------------------------------------------===// | //===----------------------------------------------------------------------===// | ||||
#include "asan_test_utils.h" | #include "asan_test_utils.h" | ||||
#if defined(__linux__) | #if defined(__linux__) && \ | ||||
(!defined(ASAN_SHADOW_SCALE) || ASAN_SHADOW_SCALE == 3) | |||||
// Assembly instrumentation is broken on x86 Android (x86 + PIC + shared runtime | // Assembly instrumentation is broken on x86 Android (x86 + PIC + shared runtime | ||||
// library). See https://github.com/google/sanitizers/issues/353 | // library). See https://github.com/google/sanitizers/issues/353 | ||||
#if defined(__x86_64__) || \ | #if defined(__x86_64__) || \ | ||||
(defined(__i386__) && defined(__SSE2__) && !defined(__ANDROID__)) | (defined(__i386__) && defined(__SSE2__) && !defined(__ANDROID__)) | ||||
#include <emmintrin.h> | #include <emmintrin.h> | ||||
▲ Show 20 Lines • Show All 250 Lines • Show Last 20 Lines |