Reapply r311164:

Fix printf format warning on i386.
This commit is contained in:
Dimitry Andric 2020-08-02 18:16:04 +00:00
parent 9f287522ce
commit f824666886
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/clang1100-import/; revision=363775

View File

@ -278,7 +278,7 @@ void FreeBSDThread::DidStop() {
void FreeBSDThread::WillResume(lldb::StateType resume_state) {
Log *log(ProcessPOSIXLog::GetLogIfAllCategoriesSet(POSIX_LOG_THREAD));
LLDB_LOGF(log, "tid %lu resume_state = %s", GetID(),
LLDB_LOGF(log, "tid %" PRIu64 " resume_state = %s", GetID(),
lldb_private::StateAsCString(resume_state));
ProcessSP process_sp(GetProcess());
ProcessFreeBSD *process = static_cast<ProcessFreeBSD *>(process_sp.get());