From bec63d606f31679cb41777315325b96a65dfe3f4 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sun, 11 Apr 2004 18:16:34 +0000 Subject: [PATCH] operator new & operator new[] do not kill any legal memory locations. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12833 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/BasicAliasAnalysis.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 8fc561ea1d9..d5cd5df7b87 100644 --- a/lib/Analysis/BasicAliasAnalysis.cpp +++ b/lib/Analysis/BasicAliasAnalysis.cpp @@ -646,6 +646,9 @@ static const char *DoesntAccessMemoryTable[] = { // glibc functions: "__fpclassify", "__fpclassifyf", "__fpclassifyl", "__signbit", "__signbitf", "__signbitl", + + // C++ operator new/operator new[] + "_Znwj", "_Znaj", }; static const unsigned DAMTableSize = -- 2.34.1