[MSan] Prepare for splitting msan_new_delete.cc into a separate library. NFC.

llvm-svn: 235926
This commit is contained in:
Alexey Samsonov 2015-04-27 22:08:04 +00:00
parent d99829481c
commit 042a069b25
3 changed files with 0 additions and 10 deletions

View File

@ -360,8 +360,6 @@ void __msan_init() {
InitializeInterceptors();
InstallAtExitHandler(); // Needs __cxa_atexit interceptor.
if (MSAN_REPLACE_OPERATORS_NEW_AND_DELETE)
ReplaceOperatorsNewAndDelete();
DisableCoreDumperIfNecessary();
if (StackSizeIsUnlimited()) {
VPrintf(1, "Unlimited stack, doing reexec\n");

View File

@ -131,7 +131,6 @@ void *MsanReallocate(StackTrace *stack, void *oldp, uptr size,
void MsanDeallocate(StackTrace *stack, void *ptr);
void InstallTrapHandler();
void InstallAtExitHandler();
void ReplaceOperatorsNewAndDelete();
const char *GetStackOriginDescr(u32 id, uptr *pc);

View File

@ -19,13 +19,6 @@
#include <stddef.h>
namespace __msan {
// This function is a no-op. We need it to make sure that object file
// with our replacements will actually be loaded from static MSan
// run-time library at link-time.
void ReplaceOperatorsNewAndDelete() { }
}
using namespace __msan; // NOLINT
// Fake std::nothrow_t to avoid including <new>.