aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorFlorian Mayer <fmayer@google.com>2023-08-29 16:46:18 -0700
committerFlorian Mayer <fmayer@google.com>2023-08-31 15:41:08 -0700
commit7f12000a5f8a50630b2cb038b06fb2b932efef18 (patch)
treed7e64ffc6359d025b1ecf5119336066bb9ecf3d6 /llvm/lib/IR/Function.cpp
parent7ce67d33107fd86b7fac985a593e14298944a3a8 (diff)
downloadllvm-7f12000a5f8a50630b2cb038b06fb2b932efef18.zip
llvm-7f12000a5f8a50630b2cb038b06fb2b932efef18.tar.gz
llvm-7f12000a5f8a50630b2cb038b06fb2b932efef18.tar.bz2
Support atomic write operations in stack safety
This has two benefits: * we can now mark allocas that are used in atomic operations as safe * this fixes a bug that would incorrectly mark all atomic writes as safe in HWASan instrumentation. this is because stack safety keeps a list of all *unsafe* operations that are reachable from an alloca, but it did not analyze atomic writes, so it would always mark them as safe. Reviewed By: vitalybuka Differential Revision: https://reviews.llvm.org/D159153
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions