Use std::list so that we have a stable iterator.
authorRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 May 2013 18:53:50 +0000 (18:53 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Tue, 21 May 2013 18:53:50 +0000 (18:53 +0000)
commite67c9c341f18a463f5c5e43f4da520c68df76e9a
tree7fab8692dbd8b536525b99af03b9653a328e0b3a
parent15e3b0caac3b807b1f87420147e16aab31454a85
Use std::list so that we have a stable iterator.

I will try to avoid creating these std::strings, but for now this gets
the tests passing with libc++.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182405 91177308-0d34-0410-b5e6-96231b3b80d8
test/Object/obj2yaml.test
tools/obj2yaml/coff2yaml.cpp