Diego Novillo
6dc9c4814f
Fix segmentation fault when mixing -Rpass with #line.
...
Summary:
When using #line directives, FileManager::getFile() will return a nil
entry. This triggers an assert in translateFileLineCol().
This patch handles nil FileEntry instances by emitting a note that the
location could not be translated back to a SourceLocation. I don't
really like this solution, but we are translating presumed locations,
so some information has already been lost.
Reviewers: rsmith
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D3625
llvm-svn: 208315
2014-05-08 13:49:54 +00:00
..
2014-05-01 21:11:57 +00:00
2012-10-24 12:22:56 +00:00
2013-03-21 19:38:59 +00:00
2014-02-21 03:14:07 +00:00
2013-08-07 12:54:47 +00:00
2014-01-26 23:12:43 +00:00
2013-07-04 15:22:16 +00:00
2013-04-02 13:38:48 +00:00
2011-11-17 07:21:33 +00:00
2011-09-29 01:01:08 +00:00
2013-01-02 22:30:14 +00:00
2012-10-19 12:44:48 +00:00
2013-11-18 22:10:17 +00:00
2013-12-20 22:01:25 +00:00
2013-07-04 16:16:58 +00:00
2012-10-19 12:44:48 +00:00
2013-08-21 21:59:03 +00:00
2013-11-16 06:20:17 +00:00
2014-05-08 13:49:54 +00:00
2014-05-01 14:06:01 +00:00
2013-06-28 03:49:04 +00:00
2014-01-08 11:38:47 +00:00
2013-08-09 00:32:23 +00:00
2013-11-28 05:55:40 +00:00
2014-05-01 21:10:08 +00:00
2013-12-13 17:04:55 +00:00
2013-07-26 15:32:04 +00:00
2013-07-04 16:16:58 +00:00
2014-05-01 23:58:20 +00:00
2014-05-01 21:11:57 +00:00
2014-05-01 21:11:57 +00:00
2013-07-20 14:30:01 +00:00
2014-05-01 21:11:57 +00:00
2013-04-11 18:39:10 +00:00
2014-03-26 01:39:59 +00:00
2011-06-07 06:07:12 +00:00
2012-10-19 12:44:48 +00:00
2013-07-04 16:16:58 +00:00
2012-08-10 01:06:16 +00:00
2013-11-05 12:45:40 +00:00
2012-07-11 19:58:23 +00:00
2013-07-04 16:16:58 +00:00
2013-10-29 02:34:44 +00:00
2012-10-19 12:44:48 +00:00
2011-09-29 01:58:05 +00:00
2011-09-29 01:37:40 +00:00
2012-10-19 12:44:48 +00:00
2011-10-04 21:17:24 +00:00
2013-01-15 01:21:53 +00:00
2011-09-29 01:58:05 +00:00
2014-04-30 10:04:58 +00:00
2012-01-27 07:10:14 +00:00
2013-11-16 06:20:17 +00:00