[PATCH] D18167: [ELF/Driver] Avoid a reference to the ELFOptTable after it has gone out of scope

Filipe Cabecinhas via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 14 19:29:31 PDT 2016


It looks like it should, but I can't try it out now.
I can try it tonight or tomorrow morning at most. If you want, you can
compile llvm+lld with ASan and turn on the Asan option (double-check that
you catch the bug first ;-) ).

CCing Kostya:
Should we add ASAN_OPTIONS=detect_stack_use_after_free=true to the
sanitizer bot?
It would have caught this bug a long time ago.
We might also need to do some cleanup before we can do it.

Thank you,

  Filipe



On Monday, 14 March 2016, Rui Ueyama <ruiu at google.com
<javascript:_e(%7B%7D,'cvml','ruiu at google.com');>> wrote:

> ruiu added a comment.
>
> Does http://reviews.llvm.org/D18169 solves PR26908?
>
>
> http://reviews.llvm.org/D18167
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160314/d085c801/attachment.html>


More information about the llvm-commits mailing list