Adrian Prantl
ce13935776
[IR] Remove the DIExpression field from DIGlobalVariable.
...
This patch implements PR31013 by introducing a
DIGlobalVariableExpression that holds a pair of DIGlobalVariable and
DIExpression.
Currently, DIGlobalVariables holds a DIExpression. This is not the
best way to model this:
(1) The DIGlobalVariable should describe the source level variable,
not how to get to its location.
(2) It makes it unsafe/hard to update the expressions when we call
replaceExpression on the DIGLobalVariable.
(3) It makes it impossible to represent a global variable that is in
more than one location (e.g., a variable with multiple
DW_OP_LLVM_fragment-s). We also moved away from attaching the
DIExpression to DILocalVariable for the same reasons.
<rdar://problem/29250149>
https://llvm.org/bugs/show_bug.cgi?id=31013
Differential Revision: https://reviews.llvm.org/D26769
llvm-svn: 289902
2016-12-16 00:36:43 +00:00
..
2016-12-15 20:11:05 +00:00
2016-12-11 20:07:15 +00:00
2016-12-03 00:41:43 +00:00
2016-12-07 15:03:32 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-07-27 23:53:58 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-15 20:11:05 +00:00
2016-10-06 23:57:25 +00:00
2016-12-15 20:11:05 +00:00
2016-11-11 22:51:46 +00:00
2016-10-06 23:57:25 +00:00
2016-12-16 00:36:43 +00:00
2016-10-19 19:22:02 +00:00
2016-11-09 22:25:19 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-11-11 22:51:46 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-07-24 07:24:54 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-07-06 14:26:59 +00:00
2016-09-26 17:08:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-07 15:20:13 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-07 15:03:32 +00:00
2016-10-06 23:57:25 +00:00
2016-12-15 20:11:05 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-05-10 07:33:35 +00:00
2016-10-25 18:59:45 +00:00
2016-10-31 13:17:31 +00:00
2016-10-31 13:17:31 +00:00
2016-10-31 13:17:31 +00:00
2016-12-15 20:11:05 +00:00
2016-09-02 16:19:22 +00:00
2016-10-06 23:57:25 +00:00
2016-07-12 21:24:06 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-06-15 00:35:26 +00:00
2016-11-11 22:51:46 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-08-12 22:47:13 +00:00
2016-10-06 23:57:25 +00:00
2016-06-29 10:01:06 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-09-21 16:50:24 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-09-26 17:08:37 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-12-13 20:38:18 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00
2016-10-06 23:57:25 +00:00