2020-01-16 16:38:04 +00:00
|
|
|
//===-- msan_loadable.cc --------------------------------------------------===//
|
2019-07-26 19:53:28 +00:00
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
//
|
2020-01-16 16:38:04 +00:00
|
|
|
// This file is a part of MemorySanitizer.
|
2019-07-26 19:53:28 +00:00
|
|
|
//
|
2020-01-16 16:38:04 +00:00
|
|
|
// MemorySanitizer unit tests.
|
2019-07-26 19:53:28 +00:00
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
2020-01-16 16:38:04 +00:00
|
|
|
#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;
|
2019-07-26 19:53:28 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
}
|