SuccessChanges

Summary

  1. Fix unused variable in r375066 (details)
  2. Correct placement of #ifndef NDEBUG in r375067 (details)
  3. SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to (details)
Commit 149a02042531980ffdad0314922bd10544484d70 by daniel_l_sanders
Fix unused variable in r375066
llvm-svn: 375070
The file was modifiedllvm/lib/CodeGen/GlobalISel/CombinerHelper.cpp
Commit 6150093e22815d49634beceed0472fddc9ef33fb by daniel_l_sanders
Correct placement of #ifndef NDEBUG in r375067
llvm-svn: 375071
The file was modifiedllvm/utils/TableGen/GICombinerEmitter.cpp
Commit 56ee31964f5a57621953eacdc8458bd41dfc4154 by maskray
SBCommandReturnObject: change LLDB_RECORD_METHOD(..., FILE *, ...) to
use LLDB_RECORD_DUMMY
POSIX says FILE is a typedef to a structure containing information about
a file. The structure is unspecified, i.e. it may be an incomplete type,
as is the case on musl
(`struct _IO_FILE` is an implementation detail that is not exposed).
`LLDB_RECORD_METHOD(..., (FILE *), ...)` transitively uses sizeof(FILE)
and requires the structure to be complete.  Change it to
LLDB_RECORD_DUMMY to fix the build failure on musl (regression of
D57475).
Reviewed By: JDevlieghere, labath, lawrence_danna
Differential Revision: https://reviews.llvm.org/D68872
llvm-svn: 375072
The file was modifiedlldb/source/API/SBCommandReturnObject.cpp