<html>
<head>
<base href="https://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - check-lldb-unit fails on r286085, TestArm64InstEmulation.TestSimpleDarwinFunction failed"
href="https://llvm.org/bugs/show_bug.cgi?id=30928">30928</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>check-lldb-unit fails on r286085, TestArm64InstEmulation.TestSimpleDarwinFunction failed
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>All Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>lldb-dev@lists.llvm.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>vsk@apple.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>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
********************</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>