[Lldb-commits] [PATCH] D44157: [elf] Remove one copy of the section merging code

2018-03-09 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL327123: [elf] Remove one copy of the section merging code (authored by labath, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D44157 Files: lld

[Lldb-commits] [PATCH] D44157: [elf] Remove one copy of the section merging code

2018-03-08 Thread Jan Kratochvil via Phabricator via lldb-commits
jankratochvil accepted this revision. jankratochvil added a comment. This revision is now accepted and ready to land. Yes, it should be the same I think; some notes of mine: Module::GetSectionList()->obj_file->CreateSections(*GetUnifiedSectionList()); Module::GetUnifiedSectionList()->

[Lldb-commits] [PATCH] D44157: [elf] Remove one copy of the section merging code

2018-03-06 Thread Pavel Labath via Phabricator via lldb-commits
labath created this revision. labath added reviewers: fjricci, jankratochvil. Herald added subscribers: arichardson, emaste. Besides being superfluous, this double merging was actually wrong and causing some sections to be added twice. The reason for that was that the code assumes sectoin IDs are