aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorYaron Keren <yaron.keren@gmail.com>2016-05-31 13:45:05 +0000
committerYaron Keren <yaron.keren@gmail.com>2016-05-31 13:45:05 +0000
commita34bfa000fda5d5f0c77700a071b3d08624297d2 (patch)
treee1d3252b1468536d75c7ffd84de43da1c1accebe /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parent8ef3f0fa5b12b0903b4f331ee477efeb5df125d2 (diff)
downloadllvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.zip
llvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.tar.gz
llvm-a34bfa000fda5d5f0c77700a071b3d08624297d2.tar.bz2
Do not modify a std::vector while looping it.
Introduced in r271244, this is probably undefined behaviour and asserts when compiled with Visual C++ debug mode. On further note, the loop is quadratic with regard to the number of successors since removeSuccessor is linear and could probably be modified to linear time. llvm-svn: 271278
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions