Tonko Sabolčec
0205aa4a02
[lldb] Fix member access in GetExpressionPath
...
This change fixes two issues in ValueObject::GetExpressionPath method:
1. Accessing members of struct references used to produce expression
paths such as "str.&str.member" (instead of the expected
"str.member"). This is fixed by assigning the flag tha the child
value is a dereference when calling Dereference() on references
and adjusting logic in expression path creation.
2. If the parent of member access is dereference, the produced
expression path was "*(ptr).member". This is incorrect, since it
dereferences the member instead of the pointer. This is fixed by
wrapping dereference expression into parenthesis, resulting with
"(*ptr).member".
Reviewed By: werat, clayborg
Differential Revision: https://reviews.llvm.org/D132734
2022-10-12 12:08:57 +00:00
..
2022-06-17 14:34:49 -07:00
2022-09-12 13:59:05 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-09-22 14:52:58 -07:00
2022-09-26 11:26:13 -07:00
2022-08-15 08:54:06 +00:00
2022-10-12 12:08:57 +00:00
2022-06-17 14:34:49 -07:00
2022-08-03 15:44:19 +02:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-07-23 15:37:26 -07:00
2022-08-25 14:48:04 -07:00
2022-06-17 14:34:49 -07:00
2022-06-20 12:59:31 +02:00
2022-06-17 14:34:49 -07:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-10-06 17:18:51 +02:00
2022-06-17 14:34:49 -07:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-08-02 16:59:12 +05:00
2022-08-11 19:11:01 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-07-07 15:06:40 +02:00
2022-06-17 14:34:49 -07:00
2022-09-13 10:38:38 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-09-13 10:38:38 -07:00
2022-09-23 12:32:38 +00:00
2022-09-13 10:38:38 -07:00
2022-08-03 11:44:13 -07:00
2022-08-15 08:54:06 +00:00
2022-09-27 16:20:26 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-03-02 22:35:34 -08:00
2022-06-17 14:34:49 -07:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-09-13 10:38:38 -07:00
2022-08-11 19:11:01 -07:00
2022-06-17 14:34:49 -07:00
2022-08-03 11:44:13 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-08-03 11:44:13 -07:00
2022-08-03 11:44:13 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-08-04 09:19:55 -07:00
2022-09-11 20:50:03 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-07-01 12:25:43 +04:00
2022-10-10 17:07:52 +01:00
2022-06-17 14:34:49 -07:00
2022-08-03 11:44:13 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-08-11 19:11:01 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-10-04 11:38:32 -07:00
2022-08-25 08:49:13 +01:00
2022-08-15 08:54:06 +00:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00
2022-06-17 14:34:49 -07:00