<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/147144>147144</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[lldb-dap] Incorrect value of evaluateName for vector registers
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
DrSergei
</td>
</tr>
</table>
<pre>
I found problem where "Add to Watch" doesn't work properly for vector registers (`evaluateName` is "Advanced Vector Extensionsymm0" instead of "$ymm0". I think the problem is inside LLDB. If I change `GetPreferSyntheticValue()` to `false` in `SBValue.cpp:698`, after that lldb-dap works fine. This suggests the problem is in the synthetic value logic
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskkGPmz4QxT-NuYwWgYMhHDhs_vmnirSqKqXano09gLvGRvaQNN--MpttK7UnhOfNzG-enozRjA6xY-LAxDGTK00-dMdwwTCiyXqv790ZBr86DUvwvcUZbhMGBMb5s9ZAHr5JUhPjHLTH6BhvCG4-vCX9gsHeYfABrqjIBwg4mkgYIjC-Z3WBV2lXSfhZzsjqAsDE98lX6RRqeH1v-_8HoYvGu3if5yLtMi4SSg1-SHrGq0chhzPQZNwb0IS_kE1MDUYjvLwcDzmcBziDmqQbEVhdfEL6EnDAcLk7mpCMepV2xYTI24RFPskGaeNGaVz6vRw2Va6Whe2e6zbdw_h_IAfCADRJAmt1_6TlshkSYTAOc_g6mQhxHUeMFP_G3F7iBwgkgxCsH43KdLfT7a6VGXZlI8qmbMWeZ1Mn2xo1VmrfF4MQTVn3dbFXXIimbnnblpnpeMFF0RSi5FXNeV5UzW5fYV9WVd_Xg2BVgbM0Nrf2Ouc-jJmJccWurJqyqjIre7RxSwnnDm-wVZPx4piFLjU99esYWVVYEyn-HkOG7BavDyuYOMLZKR8CKnpc5wf4Mwj_DEy2BttNREtku2fGT4yfRkPT2ufKz4yf0sbH52kJ_jsqYvy0cUbGT49Drh3_GQAA__-yvvdN">