[lldb-dev] [Bug 17183] New: expression test using varargs printf() fails on FreeBSD

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Sep 10 08:59:13 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17183

            Bug ID: 17183
           Summary: expression test using varargs printf() fails on
                    FreeBSD
           Product: lldb
           Version: unspecified
          Hardware: PC
                OS: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-dev at cs.uiuc.edu
          Reporter: emaste at freebsd.org
    Classification: Unclassified

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 *)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20130910/d8fa4aa6/attachment.html>


More information about the lldb-dev mailing list