commit | 9a6c9023325b44115e5559098c4e01914d13ee82 | [log] [tgz] |
---|---|---|
author | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jun 29 14:39:25 2015 +0000 |
committer | Rafael Espindola <rafael.espindola@gmail.com> | Mon Jun 29 14:39:25 2015 +0000 |
tree | 54be58bee1699532910fd58591526239bc6f7357 | |
parent | 528a204ab98445917576e6bb74136b5c34b94a7f [diff] |
Factor out the checking of string tables. This moves the error checking for string tables to getStringTable which returns an ErrorOr<StringRef>. This improves error checking, makes it uniform across all string tables and makes it possible to check them once instead of once per name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240950 91177308-0d34-0410-b5e6-96231b3b80d8