Chris Bieneman
9cf90e65d1
[yaml2obj] Remove --format option in favor of YAML tags
...
Summary:
Our YAML library's handling of tags isn't perfect, but it is good enough to get rid of the need for the --format argument to yaml2obj. This patch does exactly that.
Instead of requiring --format, it infers the format based on the tags found in the object file. The supported tags are:
!ELF
!COFF
!mach-o
!fat-mach-o
I have a corresponding patch that is quite large that fixes up all the in-tree test cases.
Reviewers: rafael, Bigcheese, compnerd, silvas
Subscribers: compnerd, llvm-commits
Differential Revision: http://reviews.llvm.org/D21711
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273915 91177308-0d34-0410-b5e6-96231b3b80d8
2016-06-27 19:53:53 +00:00
..
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2015-06-25 21:00:51 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2013-07-16 23:17:22 +00:00
2014-05-24 08:47:11 +00:00
2015-03-02 21:33:18 +00:00
2014-11-04 13:41:33 +00:00
2015-03-02 21:33:18 +00:00
2015-07-14 22:42:21 +00:00
2016-05-02 21:06:57 +00:00
2014-07-08 23:47:31 +00:00
2015-03-02 21:33:18 +00:00
2013-07-22 15:11:51 +00:00
2016-06-17 22:16:06 +00:00
2016-03-31 23:07:50 +00:00
2015-07-13 23:07:05 +00:00
2015-12-07 23:15:57 +00:00
2013-07-17 02:21:10 +00:00
2014-10-31 05:07:00 +00:00
2015-07-06 21:36:23 +00:00
2015-07-06 14:26:07 +00:00
2016-05-26 01:45:12 +00:00
2016-02-17 16:48:00 +00:00
2014-06-11 19:05:50 +00:00
2015-06-24 18:03:39 +00:00
2015-06-11 21:42:18 +00:00
2016-01-16 22:40:09 +00:00
2016-03-21 21:09:38 +00:00
2013-06-05 01:33:53 +00:00
2016-06-27 19:53:53 +00:00
2016-02-17 15:38:21 +00:00
2015-02-27 18:58:23 +00:00
2015-06-24 10:20:30 +00:00
2016-05-31 20:35:34 +00:00
2015-11-19 05:56:52 +00:00
2014-11-04 13:19:29 +00:00
2014-10-10 18:33:51 +00:00
2014-11-04 13:19:29 +00:00
2014-11-04 13:19:29 +00:00
2014-10-10 18:33:51 +00:00
2014-11-04 13:19:29 +00:00
2014-11-04 13:19:29 +00:00
2014-11-03 14:09:47 +00:00
2016-05-17 17:10:12 +00:00
2014-06-20 00:04:16 +00:00
2014-01-29 04:08:05 +00:00
2015-02-17 18:54:22 +00:00
2015-08-06 20:05:27 +00:00
2014-05-09 23:57:49 +00:00
2015-05-22 13:28:35 +00:00
2016-06-20 22:16:18 +00:00
2013-11-02 05:03:24 +00:00
2015-07-21 21:40:33 +00:00
2016-01-16 06:06:36 +00:00
2014-03-20 06:29:02 +00:00
2014-10-10 00:17:57 +00:00
2014-10-10 06:59:05 +00:00
2014-04-09 16:38:15 +00:00
2016-06-27 19:53:53 +00:00
2016-01-20 19:15:18 +00:00
2014-12-19 02:31:01 +00:00
2014-06-30 20:03:02 +00:00
2014-12-04 07:37:02 +00:00
2016-03-21 20:59:15 +00:00
2014-10-29 18:37:13 +00:00
2013-04-16 10:53:11 +00:00
2013-01-10 22:40:50 +00:00
2015-08-10 21:00:15 +00:00
2015-06-23 15:45:38 +00:00
2015-12-18 16:07:17 +00:00
2015-09-21 19:17:18 +00:00
2014-03-24 05:00:34 +00:00
2015-10-01 17:57:31 +00:00
2013-02-07 18:26:45 +00:00
2016-02-16 15:16:00 +00:00
2014-07-08 23:47:31 +00:00
2014-07-01 17:19:10 +00:00
2015-06-27 03:49:25 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2016-06-27 19:53:53 +00:00
2014-05-15 16:14:02 +00:00