Debug Info: simplify parameter ordering preservation
authorDavid Blaikie <dblaikie@gmail.com>
Thu, 6 Jun 2013 21:04:51 +0000 (21:04 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Thu, 6 Jun 2013 21:04:51 +0000 (21:04 +0000)
commitb20fdff6fe3ec55c75362f6ce14c91b1c9b016c7
treee4256d697c994b0b6e44ab35af335a985b39959b
parent5bf5b96c2b61198c40b97a4f99973bd31d671ec2
Debug Info: simplify parameter ordering preservation

Seems we emit the parameter ordering number (spuriously named 'arg
number') in the debug info, so there's no need to search through the
variable list to figure out the parameter ordering. This implementation
does 'always' do the work, even in non-optimized debug info (the
previous implementation checked the existence of the 'variables' list on
the subprogram which is only present in optimized builds).

No intended functionality change.

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