Pavel Labath
67b45acefe
DWARF: Make DIERefs always valid
...
Summary:
This patch makes the DIERef class always valid by default constructor
and operator bool. This allows one to express the validity of a DIERef
in the type system. Places which are working with potentially-invalid
DIERefs have been updated to use Optional<DIERef> instead.
The constructor taking a DWARFFormValue was not needed, as all places
which were constructing a DIERef this way were immediately converting it
into a DWARFDIE or a user_id. This can be done without constructing an
intermediate DIERef.
Reviewers: JDevlieghere, clayborg, aprantl
Subscribers: arphaman, lldb-commits
Differential Revision: https://reviews.llvm.org/D63399
llvm-svn: 363767
2019-06-19 07:32:39 +00:00
..
2019-06-14 12:01:18 +00:00
2019-06-14 12:01:18 +00:00
2019-05-22 09:09:39 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-03-19 20:08:56 +00:00
2019-03-19 20:08:56 +00:00
2019-01-19 08:50:56 +00:00
2019-06-19 07:32:39 +00:00
2019-06-12 11:29:50 +00:00
2019-05-15 19:22:33 +00:00
2019-05-15 19:22:33 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-06-14 13:01:16 +00:00
2019-06-14 13:01:16 +00:00
2019-06-14 14:12:25 +00:00
2019-06-14 14:12:25 +00:00
2019-03-12 20:51:05 +00:00
2019-03-12 20:51:05 +00:00
2019-05-30 15:32:33 +00:00
2019-05-30 15:32:33 +00:00
2019-06-14 13:21:57 +00:00
2019-06-14 13:21:57 +00:00
2019-05-27 14:16:15 +00:00
2019-05-27 14:16:15 +00:00
2019-06-14 13:01:16 +00:00
2019-06-14 13:01:16 +00:00
2019-06-19 07:32:39 +00:00
2019-05-30 17:03:35 +00:00
2019-05-23 11:14:47 +00:00
2019-06-07 21:09:30 +00:00
2019-01-19 08:50:56 +00:00
2019-01-19 08:50:56 +00:00
2019-06-14 14:12:25 +00:00
2019-06-14 14:12:25 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 11:14:47 +00:00
2019-03-19 18:32:43 +00:00
2019-03-19 18:32:43 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-06-14 13:01:16 +00:00
2019-05-24 22:08:50 +00:00
2019-06-14 12:01:18 +00:00
2019-06-14 12:01:18 +00:00
2019-05-24 08:11:12 +00:00
2019-06-14 13:01:16 +00:00
2019-06-14 13:01:16 +00:00
2019-06-14 13:01:16 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-03-19 20:08:56 +00:00
2019-03-19 20:08:56 +00:00
2019-06-14 19:18:10 +00:00
2019-06-14 12:01:18 +00:00
2019-03-06 21:22:25 +00:00
2019-03-06 21:22:25 +00:00
2019-06-19 07:32:39 +00:00
2019-06-19 07:32:39 +00:00
2019-05-23 11:14:47 +00:00
2019-05-23 09:07:51 +00:00
2019-06-14 13:01:16 +00:00
2019-06-14 13:01:16 +00:00
2019-06-13 11:22:47 +00:00
2019-06-13 11:22:47 +00:00
2019-06-13 11:22:47 +00:00
2019-06-13 11:22:47 +00:00
2019-05-23 11:14:47 +00:00
2019-04-10 20:48:55 +00:00