Jonas Hahnfeld
d1e932f9c7
[ELF] Fix GCC8 warnings about "fall through", NFCI
...
Add break statements in Object/ELF.cpp since the code should consider the
generic tags for Hexagon, MIPS, and PPC. Add a test (copied from llvm-readobj)
to show that this works correctly (earlier versions of this patch would have
asserted).
The warnings in X86ELFObjectWriter.cpp are actually false-positives since
the nested switch() handles all possible values and returns in all cases.
Make this explicit by adding llvm_unreachable's.
Differential Revision: https://reviews.llvm.org/D58837
llvm-svn: 356037
2019-03-13 10:38:17 +00:00
..
2019-02-28 22:42:55 +00:00
2019-02-28 22:42:55 +00:00
2019-03-13 10:38:17 +00:00
2018-11-12 18:02:38 +00:00
2017-10-05 16:19:18 +00:00
2019-02-27 11:07:08 +00:00
2019-02-28 20:33:22 +00:00
2018-11-02 19:59:08 +00:00
2018-10-24 00:03:34 +00:00
2018-10-24 00:03:34 +00:00
2019-02-21 14:51:17 +00:00
2018-03-12 22:40:09 +00:00
2017-10-23 23:43:40 +00:00
2017-04-03 21:25:20 +00:00
2017-07-11 23:41:41 +00:00
2018-08-31 17:41:58 +00:00
2019-02-07 15:24:18 +00:00
2017-04-03 23:58:15 +00:00
2017-04-28 04:29:43 +00:00
2017-08-07 21:23:38 +00:00
2017-12-27 19:59:56 +00:00
2017-09-20 18:33:35 +00:00
2019-02-12 09:08:59 +00:00
2019-01-15 17:04:40 +00:00
2017-07-14 16:00:16 +00:00
2019-02-27 16:41:59 +00:00
2019-02-27 16:41:59 +00:00
2019-02-27 16:41:59 +00:00
2019-02-28 08:15:59 +00:00
2019-03-13 10:38:17 +00:00
2019-03-07 14:53:10 +00:00
2018-03-12 22:40:09 +00:00
2018-01-31 07:32:03 +00:00
2019-02-21 12:47:10 +00:00
2019-02-27 16:41:59 +00:00
2019-02-27 16:41:59 +00:00
2019-02-27 16:41:59 +00:00
2019-02-27 16:41:59 +00:00
2017-10-25 04:24:20 +00:00
2017-10-25 04:24:20 +00:00
2017-10-25 04:24:20 +00:00
2017-10-25 04:24:20 +00:00
2017-10-25 04:24:20 +00:00
2017-10-25 04:24:20 +00:00
2018-08-15 17:58:22 +00:00
2019-03-08 13:22:05 +00:00
2019-03-12 14:30:13 +00:00
2018-06-28 21:07:34 +00:00
2017-06-05 21:33:40 +00:00
2019-02-27 18:39:17 +00:00
2019-02-21 12:47:10 +00:00
2019-02-21 12:47:10 +00:00
2019-02-21 12:47:10 +00:00
2019-02-21 12:47:10 +00:00
2019-02-21 12:47:10 +00:00
2019-02-27 16:41:59 +00:00
2019-01-08 10:58:05 +00:00
2017-07-10 20:43:26 +00:00
2018-10-25 05:39:27 +00:00
2019-02-12 09:08:59 +00:00
2018-11-13 01:10:35 +00:00
2018-11-07 23:53:50 +00:00
2019-02-05 21:01:01 +00:00
2019-02-20 17:21:38 +00:00
2019-02-20 17:21:38 +00:00
2017-07-19 02:09:37 +00:00
2019-03-01 17:31:32 +00:00
2018-12-11 16:15:03 +00:00
2019-01-16 16:17:19 +00:00
2018-01-08 02:23:10 +00:00
2018-07-19 14:52:57 +00:00
2019-01-15 17:04:40 +00:00
2019-01-08 10:58:05 +00:00
2017-12-21 10:26:02 +00:00
2018-11-07 23:53:50 +00:00
2019-02-14 07:52:51 +00:00
2017-06-30 07:02:04 +00:00
2018-04-13 16:42:48 +00:00
2018-11-07 01:58:50 +00:00
2018-07-18 18:00:41 +00:00
2018-11-12 18:02:38 +00:00
2017-05-02 22:01:48 +00:00
2019-02-04 17:28:46 +00:00
2017-09-20 18:33:35 +00:00
2019-03-01 17:31:32 +00:00
2018-11-12 18:02:38 +00:00
2019-02-27 16:41:59 +00:00
2019-02-07 22:33:50 +00:00
2019-03-01 09:12:38 +00:00
2019-02-27 21:47:35 +00:00
2018-10-24 00:03:34 +00:00
2018-03-08 00:46:53 +00:00
2017-05-10 14:18:11 +00:00