commit | 32642131702a04b9d2243698b5e6eed1b39e14c5 | [log] [tgz] |
---|---|---|
author | Adrian Prantl <aprantl@apple.com> | Thu Apr 26 18:17:04 2018 +0000 |
committer | Adrian Prantl <aprantl@apple.com> | Thu Apr 26 18:17:04 2018 +0000 |
tree | fb0b2c11c555c372cda3277a3f61ca17f6ab3293 | |
parent | 14598cb5beaf8693d1ba67c0c144f08678ccce79 [diff] |
Fix a bug that prevents global variables from having a DW_OP_deref. For local variables the first DW_OP_deref is consumed by turning the location kind into a memeory location, but that only makes sense for values that are in a register to begin with, which cannot happen for global variables that are attached to a symbol. rdar://problem/39741860 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@330970 91177308-0d34-0410-b5e6-96231b3b80d8