HomePhabricator

[LLDB] Add a void* cast when passing object pointers to printf %p

Authored by mstorsjo on Sep 23 2019, 5:03 AM.

Description

[LLDB] Add a void* cast when passing object pointers to printf %p

This fixes build warnings in MinGW mode.

Also remove leftover if (log) {} around the log macro.

Differential Revision: https://reviews.llvm.org/D67896

llvm-svn: 372590