summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2023-06-16 12:15:06 -0700
committerFangrui Song <i@maskray.me>2023-06-16 12:15:06 -0700
commit2ef56d16adbe888a7e8c20684aa98d3f07c0eb98 (patch)
treec5a8264a0f26f016d233a70027611b2eff748d21 /lldb/test/API/python_api/function_symbol/TestSymbolAPI.py
parentd663da07e39f5c694f58949cd32d0fcceeb66b1f (diff)
[RISCV] relaxDwarfCallFrameFragment: remove unneeded relocations for relaxation
If `evaluateAsAbsolute(Value, Layout.getAssembler())` returns true, we know the address delta is a constant and can suppress relocations (usually SET6/SUB6). While here, replace one evaluateKnownAbsolute call (subtle for Mach-O workarounds; avoid if possible) with evaluateAsAbsolute.
Diffstat (limited to 'lldb/test/API/python_api/function_symbol/TestSymbolAPI.py')
0 files changed, 0 insertions, 0 deletions