1 //===-- msan_loadable.cpp -------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 //
9 // This file is a part of MemorySanitizer.
10 //
11 // MemorySanitizer unit tests.
12 //===----------------------------------------------------------------------===//
13 
14 #include "msan/msan_interface_internal.h"
15 #include <stdlib.h>
16 
17 static void *dso_global;
18 
19 // No name mangling.
20 extern "C" {
21 
get_dso_global()22 void **get_dso_global() {
23   return &dso_global;
24 }
25 
26 }
27