]> granicus.if.org Git - llvm/commit
[Debug info] Add new DbgValues after looping over DAG
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 22 Aug 2017 16:28:07 +0000 (16:28 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 22 Aug 2017 16:28:07 +0000 (16:28 +0000)
commit4514969e46525c47c722d43128e70d4382bee17c
tree8c882d7659bce8c1db93e57727912b1ab117a515
parent40f6dc61c6971e00d1221b4613bbbf194e98be80
[Debug info] Add new DbgValues after looping over DAG

I was contacted by Jesper Antonsson from Ericsson who ran into problems
with r311181 in their test suites with for an out-of-tree target.
Because of the latter I don't have a reproducer, but we definitely don't
want to modify the data structure on which we are iterating inside the
loop.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311466 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp