Duncan P. N. Exon Smith
99f12691dd
IR: Change MDFile to directly store the filename/directory
...
In the old (well, current) schema, there are two types of file
references: untagged and tagged (the latter references the former).
!0 = !{!"filename", !"/directory"}
!1 = !{!"0x29", !1} ; DW_TAG_file_type [filename] [/directory]
The interface to `DIBuilder` universally takes the tagged version,
described by `DIFile`. However, most `file:` references actually use
the untagged version directly.
In the new hierarchy, I'm merging this into a single node: `MDFile`.
Originally I'd planned to keep the old schema unchanged until after I
moved the new hierarchy into place.
However, it turns out to be trivial to make `MDFile` match both nodes at
the same time.
- Anyone referencing !1 does so through `DIFile`, whose implementation
I need to gut anyway (as I do the rest of the `DIDescriptor`s).
- Anyone referencing !0 just references an `MDNode`, and expects a
node with two `MDString` operands.
This commit achieves that, and updates all the testcases for the parts
of the new hierarchy that used the two-node schema (I've replaced the
untagged nodes with `distinct !{}` to make the diff clear (otherwise the
metadata all gets renumbered); it might be worthwhile to come back and
delete those nodes and renumber the world, not sure).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@230057 91177308-0d34-0410-b5e6-96231b3b80d8
2015-02-20 20:35:17 +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-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-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-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-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-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-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-11-06 15:05:51 +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-11-06 15:05:51 +00:00
2014-11-06 15:05:51 +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-11-06 15:05:51 +00:00
2014-08-19 21:08:27 +00:00
2014-11-06 15:05:51 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2014-11-06 15:05:51 +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-11-06 15:05:51 +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-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-08-19 21:08:27 +00:00
2014-12-16 07:08:19 +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:30:15 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2015-02-16 08:38:03 +00:00
2015-02-16 08:38: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-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-12-08 19:35:31 +00:00
2015-02-20 20:35:17 +00:00
2015-01-08 22:38:29 +00:00
2014-08-19 21:08:27 +00:00
2015-02-16 09:18:13 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2015-01-14 22:27:36 +00:00
2015-02-03 21:56:01 +00:00
2015-02-16 19:10:02 +00:00
2014-08-19 21:08:27 +00:00
2015-02-16 08:41:08 +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-12-15 19:07:53 +00:00
2014-09-05 22:30:32 +00:00
2014-08-19 21:08:27 +00:00
2015-02-11 07:43:58 +00:00
2014-07-30 22:51:54 +00:00
2014-07-30 22:51:54 +00:00
2015-02-16 09:37:35 +00:00
2014-12-09 18:33:57 +00:00
2014-06-27 18:19:56 +00:00
2015-01-06 22:55:16 +00:00
2014-12-10 01:17:08 +00:00
2014-12-10 01:17:08 +00:00
2014-12-10 01:17:08 +00:00
2014-12-10 01:17:08 +00:00
2014-12-10 01:17:08 +00:00
2014-12-10 01:38:28 +00:00
2014-12-10 01:38:28 +00:00
2014-12-10 01:38:28 +00:00
2014-12-10 01:38:28 +00:00
2014-12-10 02:36:41 +00:00
2014-12-10 02:36:41 +00:00
2014-12-10 02:36:41 +00:00
2014-12-10 02:36:41 +00:00
2015-02-11 09:13:09 +00:00
2015-02-16 05:41:53 +00:00
2015-02-16 05:41:53 +00:00
2015-02-16 05:41:53 +00:00
2015-02-16 05:41:55 +00:00
2015-02-16 06:04:53 +00:00
2014-12-09 05:56:09 +00:00
2015-02-03 21:56:01 +00:00
2015-02-03 21:54:14 +00:00
2015-02-03 21:54:14 +00:00
2015-02-03 21:56:01 +00:00
2014-12-09 23:51:14 +00:00
2015-02-13 01:14:58 +00:00
2015-02-13 01:25:10 +00:00
2015-02-13 01:25:10 +00:00
2015-02-13 01:25:10 +00:00
2015-02-13 01:20:38 +00:00
2015-02-13 01:20:38 +00:00
2015-02-13 01:20:38 +00:00
2015-02-13 01:14:11 +00:00
2015-02-13 01:14:11 +00:00
2015-02-13 01:42:09 +00:00
2015-02-13 01:42:09 +00:00
2015-02-13 01:19:14 +00:00
2015-02-13 01:19:14 +00:00
2015-02-13 01:35:40 +00:00
2015-02-13 01:46:02 +00:00
2015-02-13 01:46:02 +00:00
2015-02-13 01:29:28 +00:00
2015-02-13 01:30:42 +00:00
2015-02-13 01:30:42 +00:00
2015-02-13 01:39:44 +00:00
2015-01-13 21:10:44 +00:00
2015-01-13 21:10:44 +00:00
2015-01-19 23:32:36 +00:00
2015-01-19 23:32:36 +00:00
2015-01-16 17:33:08 +00:00
2015-02-06 22:50:13 +00:00
2015-02-13 01:32:09 +00:00
2015-01-22 21:36:45 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2015-02-13 01:43:22 +00:00
2015-02-13 01:26:47 +00:00
2015-02-13 01:10:38 +00:00
2015-02-13 01:10:38 +00:00
2015-02-18 23:17:51 +00:00
2015-02-13 01:10:38 +00:00
2015-02-13 01:10:38 +00:00
2015-02-13 01:22:59 +00:00
2015-02-19 00:37:21 +00:00
2015-02-19 00:37:21 +00:00
2015-02-19 00:37:21 +00:00
2015-02-19 00:37:21 +00:00
2014-12-15 19:07:53 +00:00
2014-12-11 01:34:46 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-15 19:07:53 +00:00
2014-12-10 02:10:35 +00:00
2014-12-10 00:43:17 +00:00
2015-01-13 21:10:44 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +00:00
2015-01-14 18:25:45 +00:00
2015-02-20 20:35:17 +00:00
2015-02-13 01:42:09 +00:00
2015-02-20 20:35:17 +00:00
2015-02-13 01:46:02 +00:00
2015-02-20 20:35:17 +00:00
2015-02-20 20:35:17 +00:00
2015-02-06 22:50:13 +00:00
2015-02-20 20:35:17 +00:00
2015-02-20 20:35:17 +00:00
2015-02-20 20:35:17 +00:00
2015-02-18 23:17:51 +00:00
2015-02-19 00:37:21 +00:00
2015-02-19 23:56:07 +00:00
2015-02-20 03:17:58 +00:00
2015-01-14 22:27:36 +00:00
2014-08-19 21:08:27 +00:00
2014-08-26 00:33:28 +00:00
2014-08-26 00:33:28 +00:00
2014-08-26 00:33:28 +00:00
2014-12-15 19:07:53 +00:00
2014-08-19 21:08:27 +00:00
2014-07-30 22:51:54 +00:00
2014-07-30 22:51:54 +00:00
2014-08-19 21:08:27 +00:00
2014-12-09 19:10:03 +00:00
2014-08-19 21:08:27 +00:00
2014-08-19 21:08:27 +00:00
2015-01-06 22:55:16 +00:00
2014-08-19 21:08:27 +00:00
2014-12-15 19:07:53 +00:00
2014-08-19 21:30:15 +00:00
2014-08-19 21:30:15 +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