summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-06-24 01:58:02 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-06-24 01:58:02 +0000
commitb19924a425edc9ff045fd20c794a6ec9917ba824 (patch)
tree65e459a4b78c3dc1810c4ece234cbcb46e805084 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parentd9c39fcbcad1dd38954fef547ad77b7674b97052 (diff)
downloadbcm5719-llvm-b19924a425edc9ff045fd20c794a6ec9917ba824.tar.gz
bcm5719-llvm-b19924a425edc9ff045fd20c794a6ec9917ba824.zip
BitcodeWriter: Remove redundant (and incorrect) check for whether to emit module summary.
The function name Module::empty() is slightly misleading in that it only tests for the presence of functions in the module. However we still want to emit the module summary if the module contains only global variables or aliases. The presence of such entities can be determined simply by checking the summary directly, as we are doing below. Differential Revision: http://reviews.llvm.org/D21669 llvm-svn: 273638
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud