[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-31 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Sorry, I have been a bit busy. I've committed this in now. Thank you for the patch. Repository: rL LLVM https://reviews.llvm.org/D29095 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-31 Thread Pavel Labath via Phabricator via lldb-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL293714: Open ELF core dumps with more than 64K sections (authored by labath). Changed prior to commit: https://reviews.llvm.org/D29095?vs=86148=86507#toc Repository: rL LLVM

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-30 Thread Eugene Birukov via Phabricator via lldb-commits
EugeneBi added a comment. So, what's now? Can somebody commit it, please? I do not see any option to do it myself. https://reviews.llvm.org/D29095 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-27 Thread Eugene Birukov via Phabricator via lldb-commits
EugeneBi updated this revision to Diff 86148. EugeneBi added a comment. Used named constants for SHN_UNDEF and SHN_XINDEX sentinels. Unfortunately ELF.h lacks definition of PN_XNUM, so left it as a comment. https://reviews.llvm.org/D29095 Files: source/Plugins/ObjectFile/ELF/ELFHeader.cpp

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-27 Thread Eugene Birukov via Phabricator via lldb-commits
EugeneBi added inline comments. Comment at: source/Plugins/ObjectFile/ELF/ELFHeader.cpp:108 + if (ok) { +if (e_phnum_hdr == 0x) + e_phnum = section_zero.sh_info; EugeneBi wrote: > EugeneBi wrote: > > davidb wrote: > > > Would this make more sense

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-27 Thread Eugene Birukov via Phabricator via lldb-commits
EugeneBi added inline comments. Comment at: source/Plugins/ObjectFile/ELF/ELFHeader.cpp:108 + if (ok) { +if (e_phnum_hdr == 0x) + e_phnum = section_zero.sh_info; EugeneBi wrote: > davidb wrote: > > Would this make more sense to compare against a

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-27 Thread Eugene Birukov via Phabricator via lldb-commits
EugeneBi added inline comments. Comment at: source/Plugins/ObjectFile/ELF/ELFHeader.cpp:108 + if (ok) { +if (e_phnum_hdr == 0x) + e_phnum = section_zero.sh_info; davidb wrote: > Would this make more sense to compare against a named constant

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-27 Thread Dave Bozier via Phabricator via lldb-commits
davidb added inline comments. Comment at: source/Plugins/ObjectFile/ELF/ELFHeader.cpp:108 + if (ok) { +if (e_phnum_hdr == 0x) + e_phnum = section_zero.sh_info; Would this make more sense to compare against a named constant ELF::PN_XNUM?

[Lldb-commits] [PATCH] D29095: Open ELF core dumps with more than 64K sections

2017-01-27 Thread Pavel Labath via Phabricator via lldb-commits
labath added a subscriber: lldb-commits. labath accepted this revision. labath added a comment. This revision is now accepted and ready to land. I've added a quick test to demonstrate what I had in mind. > Unfortunately, unlike release_39 branch, I cannot open my core dump, but the > problem