summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-10-17 01:28:07 +0000
committerFangrui Song <maskray@google.com>2019-10-17 01:28:07 +0000
commit56ee31964f5a57621953eacdc8458bd41dfc4154 (patch)
tree8ed29f9e88ff26898fdac380cd7c5c1cd1510c07 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
parent6150093e22815d49634beceed0472fddc9ef33fb (diff)
downloadbcm5719-llvm-56ee31964f5a57621953eacdc8458bd41dfc4154.tar.gz
bcm5719-llvm-56ee31964f5a57621953eacdc8458bd41dfc4154.zip
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
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud