]> git.proxmox.com Git - rustc.git/blame - src/compiler-rt/lib/msan/tests/msan_loadable.cc
Imported Upstream version 1.6.0+dfsg1
[rustc.git] / src / compiler-rt / lib / msan / tests / msan_loadable.cc
CommitLineData
1a4d82fc
JJ
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
18static void *dso_global;
19
20// No name mangling.
21extern "C" {
22
1a4d82fc
JJ
23void **get_dso_global() {
24 return &dso_global;
25}
26
27}