<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:jdevlieghere@apple.com" title="Jonas Devlieghere <jdevlieghere@apple.com>"> <span class="fn">Jonas Devlieghere</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - C: lldb cant find file:line in "included" code (set breakpoint / source list)"
href="https://bugs.llvm.org/show_bug.cgi?id=19974">bug 19974</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>jdevlieghere@apple.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>WORKSFORME
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - C: lldb cant find file:line in "included" code (set breakpoint / source list)"
href="https://bugs.llvm.org/show_bug.cgi?id=19974#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED WORKSFORME - C: lldb cant find file:line in "included" code (set breakpoint / source list)"
href="https://bugs.llvm.org/show_bug.cgi?id=19974">bug 19974</a>
from <span class="vcard"><a class="email" href="mailto:jdevlieghere@apple.com" title="Jonas Devlieghere <jdevlieghere@apple.com>"> <span class="fn">Jonas Devlieghere</span></a>
</span></b>
<pre>(lldb) target create "./x"
Current executable set to './x' (x86_64).
(lldb) b x1.c:3
Breakpoint 1: where = x`x1 + 8 at x1.c:3:3, address = 0x0000000100000f58
(lldb) b x.c:6
Breakpoint 2: where = x`main + 39 at x.c:6:3, address = 0x0000000100000f27
(lldb) source list -f x.c -l 3
3 int main(int argc, char **argv)
4 {
5 printf("main starts\n");
6 x1();
7 printf("main exiting\n");
8 return 0;
9 }
10 #include "x1.c"
(lldb) source list -f x1.c -l 1
error: Could not find source file "x1.c".
(lldb) breakpoint set -name x1
Breakpoint 3: where = x`x1 + 8 at x1.c:3:3, address = 0x0000000100000f58</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>