MCParser: add an assertion
authorSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 21 Mar 2014 05:13:23 +0000 (05:13 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Fri, 21 Mar 2014 05:13:23 +0000 (05:13 +0000)
commit6785cf007c4eeefc8e0b0c1723dc98f9ad07f4be
treee9fef5aeb30db7eafadefc861bbcf2aae61260cb
parent705e53e2aa854a04b5ce0cc8ddcd98a6a16c46e3
MCParser: add an assertion

Add an assertion that the section is not NULL.  Potential NULL pointer
dereference identified by clang static analyzer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204429 91177308-0d34-0410-b5e6-96231b3b80d8
lib/MC/MCParser/AsmParser.cpp