this makes sure that the memory accesses and the tagging are not reordered,
which happens in practice when building android.
without this change, building android with use-after-scope makes it
crashloop, with this it works.
Paths
| Differential D107495
[hwasan] barrier after tagging and before tag check. AbandonedPublic Authored by fmayer on Aug 4 2021, 12:22 PM.
Details
Summary this makes sure that the memory accesses and the tagging are not reordered, without this change, building android with use-after-scope makes it
Diff Detail
Revision Contents
Diff 364216 llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
|