<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 - Incorrect use of llvm::toStringRef in TypeSystem.cpp"
href="https://bugs.llvm.org/show_bug.cgi?id=44736">44736</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Incorrect use of llvm::toStringRef in TypeSystem.cpp
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>10.0
</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>cebtenzzre@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>Commit 0e252e3 ("[Symbol] Use llvm::Expected when getting TypeSystems")
introduced several calls to llvm::toStringRef in
'lldb/source/Symbol/TypeSystem.cpp', each with a single 'const char *'
argument. The best matching overload is llvm::toStringRef(bool), resulting in
some unhelpful error messages.
Expected Behavior:
Internal error messages look like "TypeSystem for language swift doesn't
exist".
Actual Behavior:
Internal error messages look like "TypeSystem for language true doesn't exist".</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>