
MSanDR is a dynamic instrumentation tool that can instrument the code (prebuilt libraries and such) that could not be instrumented at compile time. This code is unused (to the best of our knowledge) and unmaintained, and starting to bit-rot. llvm-svn: 222232
28 lines
680 B
C++
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;
|
|
}
|
|
|
|
}
|