[llvm] Extend memprof matching to support __size_returning_new variants. (PR #105473)

Snehasish Kumar via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 23 14:13:32 PDT 2024


snehasish wrote:

> I'm having trouble seeing where the changes to support the size returning new variants are - I just see a lot of restructuring to enable the unit testing and mocking.

Good catch, I didn't notice that my changes intended for this pull request actually sneaked into https://github.com/llvm/llvm-project/pull/102258. In particular, I meant to include the changes to MemProfiler.cpp extending the switch case statement in this pull request. I'll retitle this change to reflect that it adds test coverage for `__size_returning_new` LibFuncs in MemProfiler.cpp. 

https://github.com/llvm/llvm-project/pull/105473


More information about the llvm-commits mailing list