[lldb-dev] [Bug 17551] New: fix string format specifiers in the LLDB code

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Oct 11 03:51:05 PDT 2013


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

            Bug ID: 17551
           Summary: fix string format specifiers in the LLDB code
           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: M8R-9yw8a5 at mailinator.com
    Classification: Unclassified

Created attachment 11361
  --> http://llvm.org/bugs/attachment.cgi?id=11361&action=edit
fix string format specifiers

This patch fixes some cases of misuse of string format specifiers in the LLDB
code -- based on warnings given by Clang itself. In almost all cases, the
misuse is about "%lu" being used instead of the correct "%zu" (even though
these are compatible on 64-bit platforms in practice). There are even a couple
of cases where "%ld" (ie., signed int) is used instead of "%zu", and one where
"%lu" is used instead of "%" PRIu64.

-- 
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/20131011/9bf27117/attachment.html>


More information about the lldb-dev mailing list