diff options
| author | Craig Topper <craig.topper@sifive.com> | 2024-09-23 10:24:27 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-23 10:24:27 -0700 |
| commit | f7d088b6168608682975759bf27b7c2ad0ae7117 (patch) | |
| tree | f50f3941af53cf6badef42bfbbe44363d9949114 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp | |
| parent | 93baa018e09bb3d4d5f4da0232321aff204caaeb (diff) | |
[RISCV] Implement validateGlobalRegisterVariable. (#109596)
Only allow GPR registers and verify the size is the same as XLen.
This fixes the crash seen in #109588 by making it a frontend error.
gcc does accept the code so we may need to consider if we can fix the
backend. Some other targets I tried appear to have similar issues so it
might not be straightforward to fix.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
