<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 --- - expression test using varargs printf() fails on FreeBSD"
href="http://llvm.org/bugs/show_bug.cgi?id=17183">17183</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>expression test using varargs printf() fails on FreeBSD
</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>Test fails on FreeBSD:
test/expression_command/radar_9531204/TestPrintfAfterUp.py
Reproducing manually:
(lldb) expression (int)printf("value is %d.\\n", value);
error: no matching function for call to 'printf'
note: candidate function not viable: requires 1 argument, but 2 were provided
error: 1 errors parsing expression
turning on expression logging shows
ClangExpressionDeclMap::FindExternalVisibleDecls[6] for 'printf' in a
'TranslationUnit'
CEDM::FEVD[6] Searching the root namespace
CEDM::FEVD[6] Found specific function printf (description libc.so.7`printf at
printf.c:50), returned static int printf(static const char *)</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>