Dominic Chen 5122298d87 Avoid accessing LLVM/DWARF register mappings if undefined
Summary:
If the backend does not define LLVM/DWARF register mappings, the associated
variables are undefined since the map initializer is called by auto-generated
TableGen routines. This patch initializes the pointers and sizes to nullptr
and zero, respectively, and checks that they are valid before searching
for a mapping.

Reviewers: grosbach, dschuff

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D23458

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@278574 91177308-0d34-0410-b5e6-96231b3b80d8
2016-08-12 23:12:59 +00:00
..
2016-06-30 18:25:11 +00:00
2016-06-21 19:48:12 +00:00
2016-04-18 09:17:29 +00:00
2016-04-18 09:17:29 +00:00