llvm-6502/lib/CodeGen/AsmPrinter
Tom Stellard f667db3652 PR15662: Optimized debug info produces out of order function parameters
When a function is inlined we lazily construct the variables
representing the function's parameters. After that, we add any remaining
unused parameters.

If the function doesn't use all the parameters, or uses them out of
order, then the DWARF would produce them in that order, producing a
parameter order that doesn't match the source.

This fix causes us to always keep the arg variables at the start of the
variable list & in the original order from the source.

Merged from r183297
Author: David Blaikie <dblaikie@gmail.com>
Date:   Wed Jun 5 05:39:59 2013 +0000

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_33@186678 91177308-0d34-0410-b5e6-96231b3b80d8
2013-07-19 14:51:27 +00:00
..
ARMException.cpp Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C linkage. 2013-02-15 12:30:38 +00:00
AsmPrinter.cpp Revert r180737. The companion patch was reverted, and this is not relevant right now. 2013-05-01 22:32:08 +00:00
AsmPrinterDwarf.cpp Remove unused DwarfSectionOffsetDirective string 2013-04-22 22:49:11 +00:00
AsmPrinterInlineAsm.cpp Revert "Rename LLVMContext diagnostic handler types and functions." 2013-02-11 05:37:07 +00:00
CMakeLists.txt Teach cmake about the new Erlang GC files. 2013-03-25 14:12:21 +00:00
DIE.cpp Remove unnecessary instance variable and rework logic accordingly. 2013-05-06 17:50:50 +00:00
DIE.h Remove unnecessary instance variable and rework logic accordingly. 2013-05-06 17:50:50 +00:00
DwarfAccelTable.cpp Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
DwarfAccelTable.h Whitespace and 80-column cleanup. 2012-12-20 21:58:40 +00:00
DwarfCFIException.cpp Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
DwarfCompileUnit.cpp Update comment. Whitespace. 2013-04-22 07:47:40 +00:00
DwarfCompileUnit.h DebugInfo: Support imported modules in lexical blocks 2013-05-06 23:33:07 +00:00
DwarfDebug.cpp PR15662: Optimized debug info produces out of order function parameters 2013-07-19 14:51:27 +00:00
DwarfDebug.h DebugInfo: Support imported modules in lexical blocks 2013-05-06 23:33:07 +00:00
DwarfException.cpp Remove unneeded "TargetMachine.h" #includes. 2013-02-09 20:54:05 +00:00
DwarfException.h Factor out type info emission into separate routine. 2012-11-19 21:06:26 +00:00
ErlangGCPrinter.cpp Add a GC plugin for Erlang 2013-03-25 13:47:46 +00:00
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
Makefile
OcamlGCPrinter.cpp Last in the series of removing unnecessary '0' arguments for 2013-01-09 03:52:05 +00:00
Win64Exception.cpp Remove unneeded "TargetMachine.h" #includes. 2013-02-09 20:54:05 +00:00