summaryrefslogtreecommitdiff
path: root/lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
diff options
context:
space:
mode:
authorstephenpeckham <118857872+stephenpeckham@users.noreply.github.com>2023-12-21 08:17:32 -0600
committerGitHub <noreply@github.com>2023-12-21 08:17:32 -0600
commit70260860739fcbea2a5bee9a0d5e1d1d32ac6603 (patch)
treedd8ca9283f08a278c0bfe2bf398cd182e0f8627e /lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py
parentf54249e79a507f4bfeaa9ce3f693dbe01c9af915 (diff)
[XCOFF] Use RLDs to print branches even without -r (#74342)
This presents misleading and confusing output. If you have a function defined at the beginning of an XCOFF object file, and you have a function call to an external function, the function call disassembles as a branch to the local function. That is, `void f() { f(); g();}` disassembles as >00000000 <.f>: 0: 7c 08 02 a6 mflr 0 4: 94 21 ff c0 stwu 1, -64(1) 8: 90 01 00 48 stw 0, 72(1) c: 4b ff ff f5 bl 0x0 <.f> 10: 4b ff ff f1 bl 0x0 <.f> With this PR, the second call will display: `10: 4b ff ff f1 bl 0x0 <.g> ` Using -r can help, but you still get the confusing output: >10: 4b ff ff f1 bl 0x0 <.f> 00000010: R_RBR .g
Diffstat (limited to 'lldb/test/API/python_api/global_module_cache/TestGlobalModuleCache.py')
0 files changed, 0 insertions, 0 deletions