<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 - A project should not contain unreachable code.(llvm-project/lldb/source/Breakpoint/BreakpointResolverAddress.cpp:line 90)"
href="https://bugs.llvm.org/show_bug.cgi?id=47086">47086</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>A project should not contain unreachable code.(llvm-project/lldb/source/Breakpoint/BreakpointResolverAddress.cpp:line 90)
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>info@ustchcs.com
</td>
</tr>
<tr>
<th>CC</th>
<td>jdevlieghere@apple.com, llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>A project should not contain unreachable code.
commit e3546c78cabfbf670391a57766872f0a8e28a423
llvm-project/lldb/source/Breakpoint/BreakpointResolverAddress.cpp:line 90
70 if (section_sp) {
71 ModuleSP module_sp = section_sp->GetModule();
72 ConstString module_name;
73 if (module_sp)
74 module_name.SetCString(module_name.GetCString());
75
76 options_dict_sp->AddStringItem(GetKey(OptionNames::ModuleName),
77 module_name.GetCString());
78 options_dict_sp->AddIntegerItem(GetKey(OptionNames::AddressOffset),
79 m_addr.GetOffset());
80 } else {
81 options_dict_sp->AddIntegerItem(GetKey(OptionNames::AddressOffset),
82 m_addr.GetOffset());
83 if (m_module_filespec) {
84 options_dict_sp->AddStringItem(GetKey(OptionNames::ModuleName),
85 m_module_filespec.GetPath());
86 }
87 }
88
89 return WrapOptionsDict(options_dict_sp);
90 return StructuredData::ObjectSP();
91 }
Reported by: Ustchcs Toolsets Bugfinder
(bugfinder-1.1: A project should not contain unreachable code.)</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>