commit | 096faa974afe2fc3cabbb9b2a545b7cdc8df16fc | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Fri Dec 16 19:39:01 2016 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Fri Dec 16 19:39:01 2016 +0000 |
tree | 52085aeb337e2bacc47410f723f5078005e9e7a7 | |
parent | 56bfe966c9dc50a844a3a0921809a9a5efc358d5 [diff] |
Revert "[IR] Remove the DIExpression field from DIGlobalVariable." This reverts commit 289920 (again). I forgot to implement a Bitcode upgrade for the case where a DIGlobalVariable has not DIExpression. Unfortunately it is not possible to safely upgrade these variables without adding a flag to the bitcode record indicating which version they are. My plan of record is to roll the planned follow-up patch that adds a unit: field to DIGlobalVariable into this patch before recomitting. This way we only need one Bitcode upgrade for both changes (with a version flag in the bitcode record to safely distinguish the record formats). Sorry for the churn! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289982 91177308-0d34-0410-b5e6-96231b3b80d8