[PATCH] D118647: [hwasan] work around lifetime issue with setjmp.

Florian Mayer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 31 14:50:11 PST 2022


fmayer marked an inline comment as done.
fmayer added a comment.

In D118647#3285567 <https://reviews.llvm.org/D118647#3285567>, @eugenis wrote:

> This is a great find. @pcc 
> It seems like it would affect AArch64StackTagging, and some of the sanitizers as well (ASan in particular).
> Also I don't see anything in CodeGen/StackColoring.cpp to avoid this case - is it possible for it to cause erroneous stack slot reuse?

yep, as explained in the commit message i sent this CL to unblock the use-after-scope rollout while we figure out how to deal with the potentially bigger problem.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D118647



More information about the llvm-commits mailing list