[PATCH] D118591: [Function Specialisation] Fix use after free

Sjoerd Meijer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 2 06:04:25 PST 2022


SjoerdMeijer accepted this revision.
SjoerdMeijer added a comment.
This revision is now accepted and ready to land.

In D118591#3290167 <https://reviews.llvm.org/D118591#3290167>, @fhahn wrote:

> In D118591#3290145 <https://reviews.llvm.org/D118591#3290145>, @labrinea wrote:
>
>> I have heavily modified the original reproducer, but the problem is that we don't have buildbots running the llvm regression tests with asan. I can only see two builders for libc with asan here https://lab.llvm.org/buildbot/#/builders. Do you think there's still value in adding this testcase?
>
> There should be multiple bots that run with various sanitizers, e.g.  https://lab.llvm.org/buildbot/#/builders/168

In that case, let's do it; we have got a fix that looks reasonable and we have a test case. Before committing, the test case could do with a comment and checking a bit more though. Let's at least check the statements that the solver is changing and/or perhaps check for absence of the statements that are deleted (if that is still the case here).


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D118591/new/

https://reviews.llvm.org/D118591



More information about the llvm-commits mailing list