aboutsummaryrefslogtreecommitdiff
path: root/lldb/test/Shell/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2024-12-03 10:29:50 +0100
committerPavel Labath <pavel@labath.sk>2024-12-03 11:58:36 +0100
commit51b74bb9f6457cbe53776a2a35296189c5db52f3 (patch)
treeb23af1fb3a01bb364913a7e75ebf5b73c46ff631 /lldb/test/Shell/ScriptInterpreter/Python
parent3f39c5df08d4ca1e7f852908e9fb255db24538da (diff)
downloadllvm-51b74bb9f6457cbe53776a2a35296189c5db52f3.zip
llvm-51b74bb9f6457cbe53776a2a35296189c5db52f3.tar.gz
llvm-51b74bb9f6457cbe53776a2a35296189c5db52f3.tar.bz2
Reapply "[lldb] Use the function block as a source for function ranges (#117996)"
This reverts commit 2526d5b1689389da9b194b5ec2878cfb2f4aca93, reapplying ba14dac481564000339ba22ab867617590184f4c after fixing the conflict with #117532. The change is that Function::GetAddressRanges now recomputes the returned value instead of returning the member. This means it now returns a value instead of a reference type.
Diffstat (limited to 'lldb/test/Shell/ScriptInterpreter/Python')
-rw-r--r--lldb/test/Shell/ScriptInterpreter/Python/sb_function_ranges.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/Shell/ScriptInterpreter/Python/sb_function_ranges.s b/lldb/test/Shell/ScriptInterpreter/Python/sb_function_ranges.s
index 09b4114..a9e4104 100644
--- a/lldb/test/Shell/ScriptInterpreter/Python/sb_function_ranges.s
+++ b/lldb/test/Shell/ScriptInterpreter/Python/sb_function_ranges.s
@@ -5,7 +5,7 @@
# RUN: %lldb %t/input.o -o "command script import %t/script.py" -o exit | FileCheck %s
# CHECK: Found 1 function(s).
-# CHECK: foo: [input.o[0x0-0x7), input.o[0x7-0xe), input.o[0x14-0x1b), input.o[0x1b-0x1c)]
+# CHECK: foo: [input.o[0x0-0xe), input.o[0x14-0x1c)]
#--- script.py
import lldb