Use an index instead of pointers into the vector. If the vector resizes, then
authorBill Wendling <isanbard@gmail.com>
Wed, 10 Feb 2010 21:41:57 +0000 (21:41 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 10 Feb 2010 21:41:57 +0000 (21:41 +0000)
commit0a9abcbffed2ccef44138f997c070ba9159b1443
tree0ef5c9792986a953388ddd20cac49feee3161a36
parente21765d1c86dedbb5537ba6cf5e0cf156d7283ea
Use an index instead of pointers into the vector. If the vector resizes, then
the pointer values could be invalid.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@95813 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfException.cpp
lib/CodeGen/AsmPrinter/DwarfException.h