summaryrefslogtreecommitdiff
path: root/lldb/test/API/functionalities/plugins/python_os_plugin
diff options
context:
space:
mode:
authorHaopeng Liu <153236845+haopliu@users.noreply.github.com>2025-01-14 10:04:41 -0800
committerGitHub <noreply@github.com>2025-01-14 10:04:41 -0800
commitfed817a8b25e178cd701fefcdfe80c447d2ab212 (patch)
tree3497974c4339ceb3e6f2bd4b605826fc1ac0446a /lldb/test/API/functionalities/plugins/python_os_plugin
parentc7fddf5f786d4ed726b53096d461b62cf7649b90 (diff)
[DSE] Consider the aliasing through global variable while checking clobber (#120044)
While update the read clobber check for the "initializes" attr, we checked the aliasing among arguments, but didn't consider the aliasing through global variable. It causes problems in this example: ``` int g_var = 123; void update(int* ptr) { *ptr = g_var; void foo() { g_var = 0; bar(&g_var); } ``` We mistakenly removed `g_var = 0;` as a dead store. Fix the issue by requiring the CallBase only access argmem or inaccessiblemem.
Diffstat (limited to 'lldb/test/API/functionalities/plugins/python_os_plugin')
0 files changed, 0 insertions, 0 deletions