Adrian Prantl
3502f2089c
Emit the DW_AT_type for a C++ static member definition
...
if it is more specific than the one in its DW_AT_specification.
If a static member is an array, the translation unit containing the
member definition may have a more specific type (including its length)
than TUs only seeing the class declaration. This patch adds a
DW_AT_type to the member's DW_TAG_variable in addition to the
DW_AT_specification in these cases. The member type in the
DW_AT_specification still shows the more generic type (without the
length) to avoid defeating type uniquing.
The DWARF standard discourages “duplicating” a DW_AT_type in a member
variable definition but doesn’t explicitly forbid it. Having the more
specific type (with the array length) available is what allows the
debugger to print the contents of a static array member variable.
https://reviews.llvm.org/D26368
rdar://problem/28706946
llvm-svn: 286302
2016-11-08 22:11:38 +00:00
..
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-05-10 19:38:51 +00:00
2016-10-26 11:59:03 +00:00
2016-10-26 11:59:03 +00:00
2016-10-26 11:59:03 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-08-15 18:18:26 +00:00
2016-10-31 19:09:38 +00:00
2016-10-31 19:09:38 +00:00
2016-08-15 18:18:26 +00:00
2016-10-20 00:13:12 +00:00
2016-10-20 00:13:12 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-23 21:08:00 +00:00
2016-06-24 21:35:09 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-24 22:23:13 +00:00
2016-04-15 15:57:41 +00:00
2016-04-30 01:44:07 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-08-15 18:18:26 +00:00
2016-06-23 17:52:57 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-30 01:44:07 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-10-20 00:13:12 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-23 21:08:00 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-23 21:08:00 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-28 22:09:37 +00:00
2016-04-28 22:09:37 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-23 21:08:00 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-10-26 11:59:03 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-10-27 23:20:19 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-23 21:08:00 +00:00
2016-08-24 18:29:49 +00:00
2016-09-28 17:51:14 +00:00
2016-07-13 20:36:03 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-11-03 19:42:02 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-30 01:44:07 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-23 21:08:00 +00:00
2016-09-13 01:12:59 +00:00
2016-04-23 21:08:00 +00:00
2016-08-17 16:55:56 +00:00
2016-08-17 16:55:56 +00:00
2016-08-17 16:55:56 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-10-05 18:36:02 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-23 21:08:00 +00:00
2016-06-24 06:58:15 +00:00
2016-11-02 16:12:16 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-08-16 17:12:50 +00:00
2016-04-15 15:57:41 +00:00
2016-07-13 20:36:03 +00:00
2016-07-13 20:36:03 +00:00
2016-04-23 21:08:00 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-23 21:08:00 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-11-02 16:12:16 +00:00
2016-11-08 22:11:38 +00:00
2016-10-27 23:20:19 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-10-26 17:01:47 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-15 15:57:41 +00:00
2016-09-13 01:12:59 +00:00
2016-09-13 01:12:59 +00:00
2016-04-19 19:40:37 +00:00
2016-10-17 11:32:26 +00:00