freebsd-dev/contrib/compiler-rt/lib/msan/tests/msan_loadable.cc
Dimitry Andric f4341a5a66 Update compiler-rt to trunk r224034. This brings a number of new
builtins, and also the various sanitizers.  Support for these will be
added in a later commit.
2015-01-08 19:47:10 +00:00

28 lines
680 B
C++

//===-- msan_loadable.cc --------------------------------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// This file is a part of MemorySanitizer.
//
// MemorySanitizer unit tests.
//===----------------------------------------------------------------------===//
#include "msan/msan_interface_internal.h"
#include <stdlib.h>
static void *dso_global;
// No name mangling.
extern "C" {
void **get_dso_global() {
return &dso_global;
}
}