David Blaikie
fb0412f039
DebugInfo: Assert that any CU for which debug_loc lists are emitted, has at least one range.
...
This was coming in weird debug info that had variables (and hence
debug_locs) but was in GMLT mode (because it was missing the 13th field
of the compile_unit metadata) so no ranges were constructed. We should
always have at least one range for any CU with a debug_loc in it -
because the range should cover the debug_loc.
The assertion just ensures that the "!= 1" range case inside the
subsequent loop doesn't get entered for the case where there are no
ranges at all, which should never reach here in the first place.
llvm-svn: 214939
2014-08-06 00:21:25 +00:00
..
2013-02-05 18:15:34 +00:00
2013-04-23 17:11:46 +00:00
2013-07-13 20:38:47 +00:00
2013-04-23 21:17:40 +00:00
2013-05-14 18:54:06 +00:00
2013-03-26 15:43:57 +00:00
2013-03-07 19:10:28 +00:00
2013-09-30 18:17:35 +00:00
2013-02-20 16:13:27 +00:00
2013-03-01 17:37:13 +00:00
2013-03-01 17:37:13 +00:00
2013-04-23 19:15:55 +00:00
2013-02-05 19:20:45 +00:00
2013-02-05 19:20:45 +00:00
2013-02-05 16:42:24 +00:00
2013-02-05 16:42:24 +00:00
2013-04-30 17:52:57 +00:00
2013-08-21 22:20:53 +00:00
2012-05-15 16:13:12 +00:00
2012-05-10 20:20:25 +00:00
2012-05-10 20:20:25 +00:00
2012-05-10 20:20:25 +00:00
2012-05-10 20:20:25 +00:00
2013-02-21 19:39:40 +00:00
2012-05-10 20:20:25 +00:00
2012-05-10 20:20:25 +00:00
2012-05-15 16:13:12 +00:00
2012-05-10 20:20:25 +00:00
2012-05-10 20:20:25 +00:00
2013-03-05 18:42:28 +00:00
2013-05-14 17:16:38 +00:00
2012-05-10 20:20:25 +00:00
2012-05-10 20:20:25 +00:00
2012-05-15 16:13:12 +00:00
2012-05-15 16:13:12 +00:00
2012-05-10 20:20:25 +00:00
2012-05-15 16:13:12 +00:00
2012-05-10 20:20:25 +00:00
2013-02-13 21:38:46 +00:00
2013-02-13 21:38:46 +00:00
2013-03-28 16:25:57 +00:00
2013-02-11 21:37:55 +00:00
2013-04-30 17:52:57 +00:00
2014-08-06 00:21:25 +00:00
2013-02-11 21:37:55 +00:00
2013-02-11 21:37:55 +00:00
2013-02-11 21:37:55 +00:00
2013-02-11 21:37:55 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-07-13 20:38:47 +00:00
2013-02-01 16:40:06 +00:00
2013-07-13 20:38:47 +00:00
2014-06-09 22:42:55 +00:00
2013-03-22 18:41:34 +00:00
2013-04-30 17:52:57 +00:00
2013-04-30 17:52:57 +00:00
2013-08-21 22:20:53 +00:00
2013-03-14 19:08:03 +00:00
2012-05-15 16:13:12 +00:00
2012-05-12 05:10:30 +00:00
2012-08-28 03:11:32 +00:00
2012-09-04 14:49:56 +00:00
2012-08-08 20:31:37 +00:00
2012-05-10 20:20:25 +00:00
2014-02-16 07:31:05 +00:00
2012-12-07 21:03:15 +00:00
2013-02-05 18:23:51 +00:00
2013-02-12 16:06:23 +00:00
2013-05-10 20:27:34 +00:00
2013-05-09 18:25:44 +00:00
2013-02-13 22:56:34 +00:00
2013-04-30 17:52:57 +00:00
2012-08-13 19:54:01 +00:00
2013-05-07 19:53:00 +00:00
2012-09-04 14:49:56 +00:00
2012-05-15 16:13:12 +00:00
2013-02-04 15:52:56 +00:00
2013-07-13 20:38:47 +00:00
2013-08-06 09:12:35 +00:00
2013-05-14 18:54:06 +00:00
2013-09-30 18:17:35 +00:00
2012-05-15 16:13:12 +00:00
2013-01-17 18:42:37 +00:00
2013-07-13 20:38:47 +00:00