Dimitry Andric
89d5a4380e
Pull in r183297 from upstream llvm trunk:
...
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.
Reported by: avg
MFC after: 1 week
2013-06-05 19:46:39 +00:00
..
2013-05-29 19:41:36 +00:00
2013-03-27 10:11:43 +00:00
2013-06-01 18:03:01 +00:00
2013-06-05 16:12:50 +00:00
2013-05-08 20:04:32 +00:00
2013-05-30 16:16:28 +00:00
2012-09-11 21:16:22 +00:00
2012-05-21 04:29:11 +00:00
2013-01-19 02:24:14 +00:00
2012-12-06 01:31:25 +00:00
2013-01-26 22:08:21 +00:00
2012-08-17 18:20:38 +00:00
2012-12-06 01:31:25 +00:00
2013-01-26 22:08:21 +00:00
2013-02-26 00:58:44 +00:00
2013-01-11 17:34:30 +00:00
2013-05-21 19:23:49 +00:00
2013-06-01 01:02:24 +00:00
2013-05-12 15:29:35 +00:00
2013-04-18 02:20:58 +00:00
2012-12-06 01:31:25 +00:00
2012-12-06 01:31:25 +00:00
2012-09-22 17:47:37 +00:00
2013-01-31 08:55:21 +00:00
2013-06-03 14:36:28 +00:00
2013-04-13 22:44:48 +00:00
2013-05-31 00:31:45 +00:00
2013-04-02 05:30:41 +00:00
2012-10-19 12:44:22 +00:00
2013-03-14 23:51:47 +00:00
2013-05-28 20:11:28 +00:00
2013-04-27 19:26:56 +00:00
2013-05-30 08:02:00 +00:00
2013-02-04 09:28:36 +00:00
2013-03-04 11:27:41 +00:00
2013-06-05 19:46:39 +00:00
2011-06-30 20:58:38 +00:00
2012-10-20 10:16:55 +00:00
2012-12-21 21:00:00 +00:00
2013-04-09 06:50:11 +00:00
2012-05-22 06:28:53 +00:00
2013-04-15 18:35:09 +00:00
2013-01-26 22:08:21 +00:00
2013-05-15 18:41:49 +00:00
2013-01-03 07:25:30 +00:00
2013-05-23 05:42:35 +00:00
2013-04-14 16:49:27 +00:00
2012-08-21 06:14:08 +00:00
2013-02-16 12:45:57 +00:00
2012-09-14 11:51:49 +00:00
2011-12-17 23:43:40 +00:00
2013-04-21 17:09:51 +00:00
2013-05-04 14:03:18 +00:00
2012-12-06 01:31:25 +00:00
2013-05-31 22:55:23 +00:00
2012-02-22 03:36:15 +00:00
2013-05-31 17:30:12 +00:00
2011-05-03 14:43:16 +00:00
2012-03-10 11:25:53 +00:00
2012-12-13 06:45:45 +00:00
2012-06-27 07:41:21 +00:00
2011-12-08 02:40:46 +00:00
2013-04-20 11:42:10 +00:00
2013-04-05 09:51:31 +00:00
2013-03-15 00:05:50 +00:00
2013-03-15 00:05:50 +00:00
2013-02-16 12:52:40 +00:00
2012-12-22 21:32:12 +00:00