[lldb-dev] [Bug 44161] New: TestTrivialABI.py fails on AArch64 Ubuntu
via lldb-dev
lldb-dev at lists.llvm.org
Wed Nov 27 04:19:53 PST 2019
https://bugs.llvm.org/show_bug.cgi?id=44161
Bug ID: 44161
Summary: TestTrivialABI.py fails on AArch64 Ubuntu
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: diana.picus at linaro.org
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
FAIL: test_call_nontrivial (TestTrivialABI.TestTrivialABI)
Test that we can print a variable & call a function on the same class w/o
the trivial ABI marker.
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/decorators.py",
line 141, in wrapper
func(*args, **kwargs)
File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/decorators.py",
line 111, in wrapper
func(*args, **kwargs)
File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lang/cpp/trivial_abi/TestTrivialABI.py",
line 34, in test_call_nontrivial
self.expr_test(False)
File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lang/cpp/trivial_abi/TestTrivialABI.py",
line 74, in expr_test
self.check_frame(threads[0])
File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lang/cpp/trivial_abi/TestTrivialABI.py",
line 59, in check_frame
self.check_value(outVal_ret, 30)
File
"/home/diana.picus/llvm-envs/lldb/llvm/lldb/packages/Python/lldbsuite/test/lang/cpp/trivial_abi/TestTrivialABI.py",
line 41, in check_value
self.assertTrue(test_var.GetError().Success(), "Invalid valobj:
%s"%(test_var.GetError().GetCString()))
AssertionError: False is not True : Invalid valobj: error: No value
Stepping out seems to work ok, the backtraces before and after look sane:
*** Before ***
runCmd: thread backtrace
output: * thread #1, name = 'a.out', stop reason = breakpoint 1.1
* frame #0: 0x0000000000400704 a.out`takeTrivial(inVal=(ivar = 10)) at
main.cpp:10:3
frame #1: 0x00000000004007cc a.out`main at main.cpp:29:12
frame #2: 0x0000ffffb7c448a0 libc.so.6`__libc_start_main + 224
frame #3: 0x00000000004005f8 a.out`_start + 40
*** After stepping out ***
runCmd: thread backtrace
output: * thread #1, name = 'a.out', stop reason = step out
* frame #0: 0x00000000004007cc a.out`main at main.cpp:29:12
frame #1: 0x0000ffffb7c448a0 libc.so.6`__libc_start_main + 224
frame #2: 0x00000000004005f8 a.out`_start + 40
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20191127/6f83795d/attachment.html>
More information about the lldb-dev
mailing list