aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/COFFObjectFile.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-08-09 14:54:59 +0200
committerNikita Popov <npopov@redhat.com>2024-08-09 15:22:54 +0200
commit195362929cd79c0202f73bcbab9a09b8a1a3beaa (patch)
tree8c9cf2646a0cc3b6d86b2bcbaa50e39687e62313 /llvm/lib/Object/COFFObjectFile.cpp
parentfff78a51ee1413676c1aa772532c925dcf313527 (diff)
downloadllvm-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