commit | 2edab1ac31e1633eb5f9e07171f72b47fb2b1c8d | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jun 29 23:55:05 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jun 29 23:55:05 2015 +0000 |
tree | 115522a3cb7d6bf099aaa11e6750437ceb991bac | |
parent | a74341308f19b7cd1691eddb3bd7be99fa8204a6 [diff] |
Use asserts for checks that should never fail. If a section is not SHT_REL or SHT_RELA, we never create a valid iterator, so the getRelocation* methods should always see a section with the correct type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241023 91177308-0d34-0410-b5e6-96231b3b80d8