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: [email protected]
          Reporter: [email protected]
    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.
_______________________________________________
lldb-dev mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev

Reply via email to