diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-10-03 20:17:06 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2014-10-03 20:17:06 +0000 |
commit | 1ed4229f6f0be720a1d47aaf32947ebf486b1503 (patch) | |
tree | bea7e392bb8ad475460c1aed7000cc5d9242846b /llvm/lib/Target/TargetLibraryInfo.cpp | |
parent | aae7fefce8ee3e315b6d3bf3a188350e8da95826 (diff) | |
download | llvm-1ed4229f6f0be720a1d47aaf32947ebf486b1503.zip llvm-1ed4229f6f0be720a1d47aaf32947ebf486b1503.tar.gz llvm-1ed4229f6f0be720a1d47aaf32947ebf486b1503.tar.bz2 |
PR21145: Teach LLVM about C++14 sized deallocation functions.
C++14 adds new builtin signatures for 'operator delete'. This change allows
new/delete pairs to be removed in C++14 onwards, as they were in C++11 and
before.
llvm-svn: 219014
Diffstat (limited to 'llvm/lib/Target/TargetLibraryInfo.cpp')
-rw-r--r-- | llvm/lib/Target/TargetLibraryInfo.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/TargetLibraryInfo.cpp b/llvm/lib/Target/TargetLibraryInfo.cpp index 616ff90..7ca5c74 100644 --- a/llvm/lib/Target/TargetLibraryInfo.cpp +++ b/llvm/lib/Target/TargetLibraryInfo.cpp @@ -28,8 +28,12 @@ const char* TargetLibraryInfo::StandardNames[LibFunc::NumLibFuncs] = "_IO_putc", "_ZdaPv", "_ZdaPvRKSt9nothrow_t", + "_ZdaPvj", + "_ZdaPvm", "_ZdlPv", "_ZdlPvRKSt9nothrow_t", + "_ZdlPvj", + "_ZdlPvm", "_Znaj", "_ZnajRKSt9nothrow_t", "_Znam", |