Mark this test as 64-bit specific

llvm-svn: 204319
This commit is contained in:
Alexey Samsonov 2014-03-20 07:37:45 +00:00
parent 94bc422d7a
commit 6c3f7fcb8a
1 changed files with 5 additions and 3 deletions

View File

@ -1,9 +1,11 @@
// Check that --gc-sections does not throw away (or localize) parts of sanitizer
// interface.
// RUN: %clang_asan -m64 %s -Wl,--gc-sections -o %t
// RUN: %clang_asan -m64 %s -DBUILD_SO -fPIC -o %t-so.so -shared
// RUN: %clang_asan %s -Wl,--gc-sections -o %t
// RUN: %clang_asan %s -DBUILD_SO -fPIC -o %t-so.so -shared
// RUN: %t 2>&1
// REQUIRES: asan-64-bits
#ifndef BUILD_SO
#include <assert.h>
#include <dlfcn.h>
@ -30,7 +32,7 @@ int main(int argc, char *argv[]) {
#else // BUILD_SO
#include <sanitizer/msan_interface.h>
#include <sanitizer/asan_interface.h>
extern "C" void call_rtl_from_dso() {
volatile int32_t x;
volatile int32_t y = __sanitizer_unaligned_load32((void *)&x);