[lldb-dev] [Bug 30928] New: check-lldb-unit fails on r286085, TestArm64InstEmulation.TestSimpleDarwinFunction failed

via lldb-dev lldb-dev at lists.llvm.org
Sun Nov 6 17:31:05 PST 2016


https://llvm.org/bugs/show_bug.cgi?id=30928

            Bug ID: 30928
           Summary: check-lldb-unit fails on r286085,
                    TestArm64InstEmulation.TestSimpleDarwinFunction failed
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at lists.llvm.org
          Reporter: vsk at apple.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

check-lldb-unit fails on Linux x86_64 (building with gcc 6.2.1).

Here is my directory structure:

llvm/
llvm/projects/libcxx
llvm/projects/libcxxabi
llvm/tools/clang
llvm/tools/lldb

Here is my entire cmake configure line:

~/llvm/trunk-ccll/llvm/R (127) $ cmake -G Ninja -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_ASSERTIONS=Off -DCMAKE_BUILD_TYPE=Release
-DLLVM_INCLUDE_EXAMPLES=Off -DLLDB_DISABLE_LIBEDIT=On ../

Here is the test failure. Note, after this failure, the unit test driver hangs
forever in GDBRemoteClientBaseTest.InterruptNoResponse. I can file a separate
bug for that if needed.

********************
FAIL: lldb-Unit ::
UnwindAssembly/InstEmulation/InstEmulationTests/TestArm64InstEmulation.TestSimpleDarwinFunction
(161 of 269)
******************** TEST 'lldb-Unit ::
UnwindAssembly/InstEmulation/InstEmulationTests/TestArm64InstEmulation.TestSimpleDarwinFunction'
FAILED ********************
Note: Google Test filter = TestArm64InstEmulation.TestSimpleDarwinFunction
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from TestArm64InstEmulation
[ RUN      ] TestArm64InstEmulation.TestSimpleDarwinFunction
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:102:
Failure
Value of: row_sp->GetOffset()
  Actual: 0
Expected: 4ull
Which is: 4
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:105:
Failure
Value of: row_sp->GetCFAValue().GetOffset()
  Actual: 0
Expected: 16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:107:
Failure
Value of: row_sp->GetRegisterInfo(gpr_fp_arm64, regloc)
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:108:
Failure
Value of: regloc.IsAtCFAPlusOffset()
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:109:
Failure
Value of: regloc.GetOffset()
  Actual: 0
Expected: -16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:111:
Failure
Value of: row_sp->GetRegisterInfo(gpr_lr_arm64, regloc)
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:112:
Failure
Value of: regloc.IsAtCFAPlusOffset()
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:113:
Failure
Value of: regloc.GetOffset()
  Actual: 0
Expected: -8
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:117:
Failure
Value of: row_sp->GetOffset()
  Actual: 0
Expected: 8ull
Which is: 8
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:118:
Failure
Value of: row_sp->GetCFAValue().GetRegisterNumber() == gpr_fp_arm64
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:120:
Failure
Value of: row_sp->GetCFAValue().GetOffset()
  Actual: 0
Expected: 16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:122:
Failure
Value of: row_sp->GetRegisterInfo(gpr_fp_arm64, regloc)
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:123:
Failure
Value of: regloc.IsAtCFAPlusOffset()
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:124:
Failure
Value of: regloc.GetOffset()
  Actual: 0
Expected: -16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:126:
Failure
Value of: row_sp->GetRegisterInfo(gpr_lr_arm64, regloc)
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:127:
Failure
Value of: regloc.IsAtCFAPlusOffset()
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:128:
Failure
Value of: regloc.GetOffset()
  Actual: 0
Expected: -8
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:132:
Failure
Value of: row_sp->GetOffset()
  Actual: 0
Expected: 16ull
Which is: 16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:135:
Failure
Value of: row_sp->GetCFAValue().GetOffset()
  Actual: 0
Expected: 16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:137:
Failure
Value of: row_sp->GetRegisterInfo(gpr_fp_arm64, regloc)
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:138:
Failure
Value of: regloc.IsAtCFAPlusOffset()
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:139:
Failure
Value of: regloc.GetOffset()
  Actual: 0
Expected: -16
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:141:
Failure
Value of: row_sp->GetRegisterInfo(gpr_lr_arm64, regloc)
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:142:
Failure
Value of: regloc.IsAtCFAPlusOffset()
  Actual: false
Expected: true
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:143:
Failure
Value of: regloc.GetOffset()
  Actual: 0
Expected: -8
../tools/lldb/unittests/UnwindAssembly/InstEmulation/TestArm64InstEmulation.cpp:147:
Failure
Value of: row_sp->GetOffset()
  Actual: 0
Expected: 20ull
Which is: 20
[  FAILED  ] TestArm64InstEmulation.TestSimpleDarwinFunction (0 ms)
[----------] 1 test from TestArm64InstEmulation (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] TestArm64InstEmulation.TestSimpleDarwinFunction

 1 FAILED TEST

********************

-- 
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/20161107/9390d91a/attachment.html>


More information about the lldb-dev mailing list