[lldb-dev] TestRegisterVariables broken on FreeBSD in the last couple of days

Ed Maste emaste at freebsd.org
Wed May 6 06:40:39 PDT 2015


A commit between r236411 (works) and r236595 (fails) broke
TestRegisterVariables on FreeBSD. I'll bisect the specific commit
later on but wanted to mention it in case the issue is obvious to the
author of the related chagnes:

..
python2.7 SBCommandInterpreter(0x801c6ac00)::HandleCommand
(command="expr c", SBCommandReturnObject(0x801c27b00),
add_to_history=0)
python2.7 SBCommandReturnObject(0x801c27b00)::GetError () => "error:
Couldn't materialize: couldn't get the value of variable c: Unable to
convert register kind=1 reg_num=4294967294 to a native register
number.

Errored out in Execute, couldn't PrepareToExecuteJITExpression
...
======================================================================
FAIL: test_with_dwarf_and_run_command
(TestRegisterVariables.RegisterVariableTestCase)
   Test expressions on register values.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 498, in wrapper
    return func(self, *args, **kwargs)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 562, in wrapper
    func(*args, **kwargs)
  File "/tank/emaste/src/llvm/tools/lldb/test/lang/c/register_variables/TestRegisterVariables.py",
line 25, in test_with_dwarf_and_run_command
    self.const_variable()
  File "/tank/emaste/src/llvm/tools/lldb/test/lang/c/register_variables/TestRegisterVariables.py",
line 79, in const_variable
    substrs = ['(int) $3 = 5'])
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 2190, in expect
    self.runCmd(str, msg=msg, trace = (True if trace else False),
check = not error, inHistory=inHistory)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 2116, in runCmd
    msg if msg else CMD_MSG(cmd))
AssertionError: False is not True : Variable(s) displayed correctly
Config=x86_64-/usr/bin/clang



More information about the lldb-dev mailing list