diff options
| author | David Peixotto <peix@meta.com> | 2025-11-17 15:27:23 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-17 15:27:23 -0800 |
| commit | 3bec613d88be5e9ca52230157c713f0cb80b820d (patch) | |
| tree | 0617c80bb50b984baa448b5a3a674303cca43737 /libc | |
| parent | 7a14ef0293ba8eb6942118e560b8bb7208822291 (diff) | |
[lldb] Add helper to create mock objects for dwarf expression tests (#167956)
This commit adds a new helper function that creates various mock objects
that can be used in dwarf expression testing. The optional register
value and memory contents are used to create MockProcessWithMemRead and
MockRegisterContext that can return expected memory contents and
register values.
This simplifies some tests by removing redundant code that creates these
objects in individual tests and consolidates the logic into one place.
Diffstat (limited to 'libc')
0 files changed, 0 insertions, 0 deletions
