diff options
author | Adrian Prantl <aprantl@apple.com> | 2018-04-27 22:05:31 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2018-04-27 22:05:31 +0000 |
commit | 4b542c6e64a07577d3cf445065cee75fa2221935 (patch) | |
tree | 54fb712fbeecea0227e10c4c4e2cfd273bcaecd7 /llvm/lib/Support/LockFileManager.cpp | |
parent | befce13328be3c0a4762adf26b0dd6a54e5592f5 (diff) | |
download | llvm-4b542c6e64a07577d3cf445065cee75fa2221935.zip llvm-4b542c6e64a07577d3cf445065cee75fa2221935.tar.gz llvm-4b542c6e64a07577d3cf445065cee75fa2221935.tar.bz2 |
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
This reapplies r330970 after fixing an uncovered bug in r331086 and
working around the situation caused by it.
llvm-svn: 331090
Diffstat (limited to 'llvm/lib/Support/LockFileManager.cpp')
0 files changed, 0 insertions, 0 deletions