aboutsummaryrefslogblamecommitdiff
path: root/test/asan/TestCases/no_asan_gen_globals.c
blob: 2b13deace4b5f9b026c6beff56e0cb016fce4bdc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13

                                                                          

                                                    








                                                                    
// FIXME: https://code.google.com/p/address-sanitizer/issues/detail?id=316
// XFAIL: android
// FIXME: http://llvm.org/bugs/show_bug.cgi?id=22682
// REQUIRES: asan-64-bits
//
// Make sure __asan_gen_* strings do not end up in the symbol table.

// RUN: %clang_asan %s -o %t.exe
// RUN: nm %t.exe | FileCheck %s

int x, y, z;
int main() { return 0; }
// CHECK-NOT: __asan_gen_