aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
diff options
context:
space:
mode:
authorDavid Spickett <david.spickett@linaro.org>2023-07-04 11:15:45 +0100
committerDavid Spickett <david.spickett@linaro.org>2023-07-04 11:16:07 +0100
commit8e76093ae8fe1184006ca14d7ffb01df982f0f43 (patch)
tree199f835a7137c073b625d290eec38bda0eada7b8 /clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp
parent518320fd98d51e2151d2d256275860e99cae695f (diff)
downloadllvm-8e76093ae8fe1184006ca14d7ffb01df982f0f43.zip
llvm-8e76093ae8fe1184006ca14d7ffb01df982f0f43.tar.gz
llvm-8e76093ae8fe1184006ca14d7ffb01df982f0f43.tar.bz2
[lldb][AArch64] Fix tagged watch test on Graviton 3
During __do_global_dtors_aux glibc sets a flag that is right next to the global variable. This is done using a store byte. On QEMU the watchpoints are handled with a finer granularity than real hardware, so this wasn't a problem. On Graviton 3 (and Mountain Jade, though this test won't run there) watchpoints look at larger chunks of memory. This means that the final continue actually stops in __do_global_dtors_aux instead of exiting. We could fix this by padding the global to be away from the flag, but that is fiddly and it is easier just to remove the watchpoint before the final continue. We have already verified it worked by that point. Reviewed By: omjavaid Differential Revision: https://reviews.llvm.org/D154201
Diffstat (limited to 'clang/lib/Analysis/FlowSensitive/DataflowAnalysisContext.cpp')
0 files changed, 0 insertions, 0 deletions