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
17static void *dso_global;
18
19// No name mangling.
20extern "C" {
21
22void **get_dso_global() {
23 return &dso_global;
24}
25
26}
27

source code of compiler-rt/lib/msan/tests/msan_loadable.cpp