diff options
author | Fangrui Song <maskray@google.com> | 2019-09-26 17:10:09 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-09-26 17:10:09 +0000 |
commit | f1e1451946502dd8f808c251bf4c3b571e80fd9d (patch) | |
tree | 2558d2374ba9edbd9b80a1d27d4893032e3e9191 /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp | |
parent | 4d17cdc704db1da4da9f76adb301db88d8e7bdf4 (diff) | |
download | bcm5719-llvm-f1e1451946502dd8f808c251bf4c3b571e80fd9d.tar.gz bcm5719-llvm-f1e1451946502dd8f808c251bf4c3b571e80fd9d.zip |
[ELF] Set SectionBase::partition in processSectionCommands
Fixes PR43461 (regression caused by D67504)
The partition field of a SECTIONS-specified section is not set after
D67504. The 0 value affects findSection() which checks if the partition
field is 1.
So `Out::initArray = findSection(".init_array")` is null, and
DT_INIT_ARRAYSZ is not set.
Reviewed By: peter.smith
Differential Revision: https://reviews.llvm.org/D68087
llvm-svn: 372996
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions