[Lldb-commits] [PATCH] D19252: Handle invalid values of PLT entry size generated by ld + gcc on arm linux targets.

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 19 09:26:36 PDT 2016


clayborg accepted this revision.
clayborg added a comment.
This revision is now accepted and ready to land.

As long as PLT entries can't possibly be 4 bytes, then this is OK. Another way to fix this would be to make a "CheckPLTSize()" function that checks the architecture of the file, or just the e_machine from the ELF header, and does the right thing based on the architecture.


http://reviews.llvm.org/D19252





More information about the lldb-commits mailing list