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@cs.uiuc.edu
Reporter M8R-9yw8a5@mailinator.com
Classification Unclassified
Created attachment 11361 [details]
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.