<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - basic_entry_values_x86_64 failing due to compiler changes"
href="https://bugs.llvm.org/show_bug.cgi?id=44774">44774</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>basic_entry_values_x86_64 failing due to compiler changes
</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>All
</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>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>The basic_entry_values_x86_64 test has started failing today due to an argument
being optimized out:
```
--- FileCheck trace (code=1) ---
/Users/vsk/src/builds/llvm-ub-hardening-RA/bin/FileCheck
/Users/vsk/src/llvm-ub-hardening/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp
-check-prefix=FUNC1-DESC
FileCheck input:
Address: a.out[0x0000000100000d68] (a.out.__TEXT.__text + 24)
Summary: a.out`func1(int&, int) + 24 at main.cpp:52:1
Module: file =
"/Users/vsk/src/builds/llvm-ub-hardening-RA/lldb-test-build.noindex/functionalities/param_entry_vals/basic_entry_values_x86_64/lldbsuite.test.lldbtest.test_dsym/a.out",
arch = "x86_64"
CompileUnit: id = {0x00000000}, file =
"/Users/vsk/src/llvm-ub-hardening/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp",
language = "c++11"
Function: id = {0x7fffffff0000002e}, name = "func1(int&, int)", mangled =
"_Z5func1Rii", range = [0x0000000103f25d50-0x0000000103f25d6f)
FuncType: id = {0x7fffffff0000002e}, byte-size = 0, decl = main.cpp:35,
compiler_type = "void (int &, int)"
Blocks: id = {0x7fffffff0000002e}, range = [0x103f25d50-0x103f25d6f)
LineEntry: [0x0000000103f25d68-0x0000000103f25d6f):
/Users/vsk/src/llvm-ub-hardening/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp:52:1
Symbol: id = {0x00000006}, range =
[0x0000000103f25d50-0x0000000103f25d70), name="func1(int&, int)",
mangled="_Z5func1Rii"
FileCheck output:
/Users/vsk/src/llvm-ub-hardening/lldb/packages/Python/lldbsuite/test/functionalities/param_entry_vals/basic_entry_values_x86_64/main.cpp:51:17:
error: FUNC1-DESC: expected string not found in input
// FUNC1-DESC: name = "sink", type = "int &", location =
DW_OP_entry_value(DW_OP_reg5 RDI)
```
Perhaps the test needs to be re-written to check in a fixed assembly file, so
that DW_OP_entry_value evaluation can be tested in a way that's not dependent
on the compiler.</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>