diff options
author | Nikita Popov <npopov@redhat.com> | 2024-08-09 14:54:59 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2024-08-09 15:22:54 +0200 |
commit | 195362929cd79c0202f73bcbab9a09b8a1a3beaa (patch) | |
tree | 8c9cf2646a0cc3b6d86b2bcbaa50e39687e62313 /llvm/lib/Object/COFFObjectFile.cpp | |
parent | fff78a51ee1413676c1aa772532c925dcf313527 (diff) | |
download | llvm-195362929cd79c0202f73bcbab9a09b8a1a3beaa.zip llvm-195362929cd79c0202f73bcbab9a09b8a1a3beaa.tar.gz llvm-195362929cd79c0202f73bcbab9a09b8a1a3beaa.tar.bz2 |
[MemoryBuiltins] Handle allocator attributes on call-site
We should handle allocator attributes not only on function
declarations, but also on the call-site. That way we can e.g.
also optimize cases where the allocator function is a virtual
function call.
This was already supported in some of the MemoryBuiltins helpers,
but not all of them. This adds support for allocsize, alloc-family
and allockind("free").
Diffstat (limited to 'llvm/lib/Object/COFFObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions