1 //===-- msan_loadable.cc --------------------------------------------------===//
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 #include "msan/msan_interface_internal.h"
16 #include <stdlib.h>
17
18 static void *dso_global;
19
20 // No name mangling.
21 extern "C" {
22
get_dso_global()23 void **get_dso_global() {
24 return &dso_global;
25 }
26
27 }
28