Duncan P. N. Exon Smith
aaff953db4
llvm-dis: Stop crashing when dropping debug info
...
Since r199356, we've printed a warning when dropping debug info.
r225562 started crashing on that, since it registered a diagnostic
handler that only expected errors. This fixes the handler to expect
other severities. As a side effect, it now prints "error: " at the
start of error messages, similar to `llvm-as`.
There was a testcase for r199356, but it only really checked the
assembler. Move `test/Bitcode/drop-debug-info.ll` to `test/Assembler`,
and introduce `test/Bitcode/drop-debug-info.3.5.ll` (and companion
`.bc`) to test the bitcode reader.
Note: tools/gold/gold-plugin.cpp has an equivalent bug, but I'm not sure
what the best fix is there. I'll file a PR.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230416 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-25 01:10:03 +00:00
..
2015-02-22 19:32:03 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-02-26 12:06:36 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2013-07-26 04:16:55 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-02-26 12:06:36 +00:00
2014-08-19 21:08:27 +00:00
2014-02-26 12:06:36 +00:00
2014-08-19 21:08:27 +00:00
2014-02-26 12:06:36 +00:00
2014-08-19 21:08:27 +00:00
2014-12-01 21:04:44 +00:00
2013-12-22 07:51:53 +00:00
2014-08-19 21:08:27 +00:00
2013-09-09 19:14:35 +00:00
2014-08-19 21:08:27 +00:00
2014-03-11 10:48:52 +00:00
2014-09-23 08:48:01 +00:00
2014-09-23 08:48:01 +00:00
2014-09-23 08:48:01 +00:00
2014-09-23 08:48:01 +00:00
2015-02-25 01:10:03 +00:00
2015-02-25 01:10:03 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2015-02-25 01:08:52 +00:00
2014-12-15 19:07:53 +00:00
2014-12-08 00:41:39 +00:00
2014-08-19 21:08:27 +00:00
2013-12-15 11:50:45 +00:00
2014-12-15 19:07:53 +00:00
2014-09-23 08:48:01 +00:00
2014-08-19 21:08:27 +00:00
2015-02-25 01:10:03 +00:00
2013-10-31 19:12:36 +00:00
2015-02-22 19:32:03 +00:00
2015-01-19 15:16:06 +00:00
2013-12-01 10:16:35 +00:00
2014-08-19 21:08:27 +00:00
2014-05-07 22:57:20 +00:00
2014-12-15 19:07:53 +00:00
2014-08-19 21:08:27 +00:00
2014-03-02 15:26:36 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-11 23:02:24 +00:00
2014-12-15 19:07:53 +00:00
2014-09-23 08:48:01 +00:00
2014-09-23 08:48:01 +00:00
2013-11-04 16:16:24 +00:00
2014-08-19 21:08:27 +00:00
2014-05-16 19:35:39 +00:00
2015-02-25 01:10:03 +00:00
2014-03-27 12:08:23 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-09-23 08:48:01 +00:00
2014-09-23 08:48:01 +00:00
2014-08-19 21:08:27 +00:00
2014-09-23 08:48:01 +00:00
2014-09-23 08:48:01 +00:00
2014-08-19 21:08:27 +00:00
2014-05-17 21:00:22 +00:00
2014-12-15 19:07:53 +00:00
2014-06-25 15:41:39 +00:00
2014-12-15 19:07:53 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-03-02 15:26:36 +00:00
2014-08-19 21:08:27 +00:00
2014-02-26 12:06:36 +00:00
2014-08-19 21:08:27 +00:00
2013-12-08 11:35:09 +00:00
2014-08-19 21:08:27 +00:00
2014-06-13 14:24:07 +00:00
2015-01-20 05:58:07 +00:00
2015-01-20 05:58:07 +00:00