ARM: add an assertion
authorSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 18 Mar 2014 05:26:55 +0000 (05:26 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Tue, 18 Mar 2014 05:26:55 +0000 (05:26 +0000)
commit96be4240bbd7087168240e486d194beb98278db7
tree9b77d6d2857d6706de747da67226b693a3628899
parentff5abbb4d3948fbac154e38e4412d2b93f969846
ARM: add an assertion

Add an assertion that a valid section is referenced.  The potential NULL pointer
dereference was identified by the clang static analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204114 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/AsmParser/ARMAsmParser.cpp