[PATCH] D14933: Add the allocsize attribute to LLVM

George Burgess IV via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 20 18:15:48 PST 2016


george.burgess.iv added a comment.

My stab at allowing LLVM to support arbitrary expressions in `allocsize` is available at http://reviews.llvm.org/D16390. It needs some refactoring/cleanup, but it gives you an idea of what I think we need to do to support `allocsize` with arbitrary expressions well in LLVM. If we end up _really_ wanting to support that, I'll fix the other patch up a bit and submit it for actual-review. Personally, I'm sketched out by the things that we need to do in that patch, so I think I'd rather continue with a review on this one.

If the consensus is that the other patch is worth the modifications that it brings, I'll clean it up + submit it for actual-review.


http://reviews.llvm.org/D14933





More information about the llvm-commits mailing list