Quuxplusone / LLVMBugzillaTest

0 stars 0 forks source link

Incorrect stepping through inlined function on AArch64 Ubuntu, FreeBSD #43027

Open Quuxplusone opened 4 years ago

Quuxplusone commented 4 years ago
Bugzilla Link PR44057
Status NEW
Importance P enhancement
Reported by Diana Picus (diana.picus@linaro.org)
Reported on 2019-11-19 03:30:33 -0800
Last modified on 2021-03-03 12:19:32 -0800
Version unspecified
Hardware PC Linux
CC jdevlieghere@apple.com, jeremy.morse.llvm@gmail.com, llvm-bugs@lists.llvm.org, mgorny@gentoo.org
Fixed by commit(s)
Attachments stepping.log (4920 bytes, text/x-log)
dumps.txt (11389 bytes, text/plain)
Blocks
Blocked by
See also
Created attachment 22839
Log of stepping from caller_trivial_1 into caller_trivial_2

TestInlineStepping.py fails on AArch64:
AssertionError: Step into stopped at wrong place: expected:
/home/buildslave/buildslave/lldb-cmake-aarch64/llvm-
project/lldb/packages/Python/lldbsuite/test/functionalities/inline-
stepping/calling.cpp:78 got: /home/buildslave/buildslave/lldb-cmake-
aarch64/llvm-project/lldb/packages/Python/lldbsuite/test/functionalities/inline-stepping/calling.cpp:98:18.
Quuxplusone commented 4 years ago

Attached stepping.log (4920 bytes, text/x-log): Log of stepping from caller_trivial_1 into caller_trivial_2

Quuxplusone commented 4 years ago

Attached dumps.txt (11389 bytes, text/plain): Some dumps from lldb

Quuxplusone commented 4 years ago
Potentially the same problem in TestStepNoDebug.py,
test_step_in_with_python_dwarf/dwo:
AssertionError: False is not True : Stepped to line 12 instead of expected 19
with pattern 'intermediate_return_value =
called_from_nodebug_actual(some_value)'.
Quuxplusone commented 3 years ago

FreeBSD is also affected.