Split getSection in two.
authorRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Nov 2016 02:24:59 +0000 (02:24 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Thu, 3 Nov 2016 02:24:59 +0000 (02:24 +0000)
commit203ff0d3c953f4802c6a89376991457b43ad099c
tree57581bf4178c4a16153cafc2d93e3f6efeb32b1d
parent70d15b36e5200b6a7abf58e411d651573b8a8080
Split getSection in two.

This will allow avoiding repeated error checking in a few cases.

llvm-svn: 285874
llvm/include/llvm/Object/ELF.h