Make the order in which variables are described in debug information
authorDan Gohman <gohman@apple.com>
Wed, 14 Jul 2010 23:08:16 +0000 (23:08 +0000)
committerDan Gohman <gohman@apple.com>
Wed, 14 Jul 2010 23:08:16 +0000 (23:08 +0000)
commit336e8d7e7ce87721db464fdb22638bf0c98d6469
tree5fe0db29e8449f4aa99c4fed0478fded915521cf
parent41af1cdd1cb6987a5ea4c9998d652475fd60d1cd
Make the order in which variables are described in debug information
independent of the order that isel happens to visit the dbg_declare
intrinsics. This fixes a bug in which the formal arguments were
being printed in reverse order, now that fast isel is going bottom up.

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