<html>
<head>
<base href="http://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 --- - test_with_dwarf (TestCPPBreakpoints.CPPBreakpointTestCase) failing (-F only finds ::Function)"
href="http://llvm.org/bugs/show_bug.cgi?id=21375">21375</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>test_with_dwarf (TestCPPBreakpoints.CPPBreakpointTestCase) failing (-F only finds ::Function)
</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>FreeBSD
</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@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>emaste@freebsd.org
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Reproducing manually shows breakpoint set -F Function only finds ::Function,
and attempts to break at e.g. Foo::Bar::Function fails. Regex match finds all
of the Functions though.
Currently at revision 220591.
feynman% bin/lldb
/tank/emaste/src/llvm/tools/lldb/test/lang/cpp/breakpoints/a.out
(lldb) target create
"/tank/emaste/src/llvm/tools/lldb/test/lang/cpp/breakpoints/a.out"
Current executable set to
'/tank/emaste/src/llvm/tools/lldb/test/lang/cpp/breakpoints/a.out' (x86_64).
(lldb) breakpoint set -F Foo::Bar::Function
Breakpoint 2: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) breakpoint set -r Function
Breakpoint 3: 5 locations.
(lldb) breakpoint list
Current breakpoints:
1: name = 'Function', locations = 1
1.1: where = a.out`Function() + 16 at nested.cpp:58, address =
a.out[0x0000000000400800], unresolved, hit count = 0
2: name = 'Foo::Bar::Function', locations = 0 (pending)
3: regex = 'Function', locations = 5
3.1: where = a.out`Function() + 16 at nested.cpp:58, address =
a.out[0x0000000000400800], unresolved, hit count = 0
3.2: where = a.out`Foo::Bar::Function() + 24 at nested.cpp:36, address =
a.out[0x00000000004007c8], unresolved, hit count = 0
3.3: where = a.out`Baz::Function() + 32 at nested.cpp:48, address =
a.out[0x0000000000400a10], unresolved, hit count = 0
3.4: where = a.out`Foo::Bar::Baz2::Function() + 32 at nested.cpp:26, address
= a.out[0x00000000004009c0], unresolved, hit count = 0
3.5: where = a.out`Foo::Bar::Baz::Function() + 32 at nested.cpp:13, address =
a.out[0x0000000000400970], unresolved, hit count = 0</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>