Home | History | Annotate | Download | only in tests
      1 //===-- msandr_test_so.h ----------------------------------------*- C++ -*-===//
      2 //
      3 //                     The LLVM Compiler Infrastructure
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 //
     10 // This file is a part of MemorySanitizer.
     11 //
     12 // MemorySanitizer unit tests.
     13 //===----------------------------------------------------------------------===//
     14 
     15 #ifndef MSANDR_MSANDR_TEST_SO_H
     16 #define MSANDR_MSANDR_TEST_SO_H
     17 
     18 void dso_memfill(char* s, unsigned n);
     19 int dso_callfn(int (*fn)(void));
     20 int dso_callfn1(int (*fn)(long long, long long, long long));  //NOLINT
     21 int dso_stack_store(void (*fn)(int*, int*), int x);
     22 void break_optimization(void *x);
     23 
     24 #endif
     25