summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorJinyang He <hejinyang@loongson.cn>2023-12-20 10:54:51 +0800
committerGitHub <noreply@github.com>2023-12-20 10:54:51 +0800
commita8081ed8ff0fd11fb8d5f4c83df49da909e49612 (patch)
treee48280252b9702cdee02ca66765ba7dd17895fa4 /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parente6a7175c6d72e8c50534cb5494d2d2542e011fe5 (diff)
[LoongArch] Allow delayed decision for ADD/SUB relocations (#72960)
Refer to RISCV [1], LoongArch also need delayed decision for ADD/SUB relocations. In handleAddSubRelocations, just return directly if SecA != SecB, handleFixup usually will finish the the rest of creating PCRel relocations works. Otherwise we emit relocs depends on whether relaxation is enabled. If not, we return true and avoid record ADD/SUB relocations. Now the two symbols separated by alignment directive will return without folding symbol offset in AttemptToFoldSymbolOffsetDifference, which has the same effect when relaxation is enabled. [1] https://reviews.llvm.org/D155357
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions