[ThinLTO] Fix bot failure due to unused variable with NDEBUG
authorTeresa Johnson <tejohnson@google.com>
Wed, 12 Oct 2016 20:06:02 +0000 (20:06 +0000)
committerTeresa Johnson <tejohnson@google.com>
Wed, 12 Oct 2016 20:06:02 +0000 (20:06 +0000)
commit2f159a265a36cabc5a088bde50ac87bebaadcf8e
treea87218882397f63b790eb0ff4312776d87074cd7
parent28ac334addef825e3fa410f5b7de0816c2a7af85
[ThinLTO] Fix bot failure due to unused variable with NDEBUG

Put variable only used in assert under #ifndef NDEBUG.

This should fix bot failure at
http://lab.llvm.org:8011/builders/lld-x86_64-darwin13/builds/28537

llvm-svn: 284039
llvm/tools/llvm-lto2/llvm-lto2.cpp