diff options
author | Chris Lattner <sabre@nondot.org> | 2004-04-11 18:16:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-04-11 18:16:34 +0000 |
commit | bec63d606f31679cb41777315325b96a65dfe3f4 (patch) | |
tree | 2f8cfd7aa9414ff826dc0a57bb6bedee0e2bf309 /lib | |
parent | ffdc4ff1c45d0426c549550c477b578c0ffe4751 (diff) | |
download | external_llvm-bec63d606f31679cb41777315325b96a65dfe3f4.zip external_llvm-bec63d606f31679cb41777315325b96a65dfe3f4.tar.gz external_llvm-bec63d606f31679cb41777315325b96a65dfe3f4.tar.bz2 |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Analysis/BasicAliasAnalysis.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Analysis/BasicAliasAnalysis.cpp b/lib/Analysis/BasicAliasAnalysis.cpp index 8fc561e..d5cd5df 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 = |