<html>
<head>
<base href="https://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 --- - Unable to set BP using global namespace token" href="https://urldefense.proofpoint.com/v2/url?u=https-3A__llvm.org_bugs_show-5Fbug.cgi-3Fid-3D24271&d=AwMBaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=DDUMf06MYELAe1Nlv7KChiwJLLHbYha4jtK_AOiWqwQ&m=1VKGumuSO-GFqPQt1mlBbxn5jpASEQKZQSP2sq-LNQk&s=FuAa37I010JS27YPrtTH4HdVr9R51jhZKJ_gEE0RJms&e=">24271</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unable to set BP using global namespace token
</td>
</tr>
<tr>
<th>Product</th>
<td>lldb
</td>
</tr>
<tr>
<th>Version</th>
<td>3.7
</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@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ki.stfu@gmail.com
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>Test case:
```
$ ./lldb ~/p/test/arg_test
(lldb) target create "/home/ilia/p/test/arg_test"
Current executable set to '/home/ilia/p/test/arg_test' (x86_64).
(lldb) b ::main
Breakpoint 1: no locations (pending).
WARNING: Unable to resolve breakpoint to any actual locations.
(lldb) r
Process 13007 launched: '/home/ilia/p/test/arg_test' (x86_64)
argc = 1
Process 13007 exited with status = 0 (0x00000000)
(lldb) b main
Breakpoint 2: where = arg_test`main + 15 at arg_test.c:4, address =
0x0000000000400545
(lldb) r
Process 13088 launched: '/home/ilia/p/test/arg_test' (x86_64)
Process 13088 stopped
* thread #1: tid = 13088, 0x0000000000400545 arg_test`main(argc=1,
argv=0x00007fffffffdc38) + 15 at arg_test.c:4, name = 'arg_test', stop reason =
breakpoint 2.1
frame #0: 0x0000000000400545 arg_test`main(argc=1, argv=0x00007fffffffdc38)
+ 15 at arg_test.c:4
1 #include <stdio.h>
2
3 int main(int argc, char *argv[]) {
-> 4 printf("argc = %d\n", argc);
5 return 0;
6 }
(lldb)
```</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>