aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2022-06-14 15:41:27 -0700
committerFlorian Mayer <fmayer@google.com>2022-06-22 11:16:34 -0700
commit476ced4b89594d329dd0aa8798a46153672ded3c (patch)
tree5aca65ee1d298704e925884139c6c423326ee409 /llvm/lib/IR/Function.cpp
parentefbfde0dd0f92d89767df53cbfb883ecf93ffa83 (diff)
downloadllvm-476ced4b89594d329dd0aa8798a46153672ded3c.zip
llvm-476ced4b89594d329dd0aa8798a46153672ded3c.tar.gz
llvm-476ced4b89594d329dd0aa8798a46153672ded3c.tar.bz2
[MTE] [HWASan] Support diamond lifetimes.
We were overly conservative and required a ret statement to be dominated completely be a single lifetime.end marker. This is quite restrictive and leads to two problems: * limits coverage of use-after-scope, as we degenerate to use-after-return; * increases stack usage in programs, as we have to remove all lifetime markers if we degenerate to use-after-return, which prevents reuse of stack slots by the stack coloring algorithm. Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D127905
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions