diff options
author | Adrian Prantl <aprantl@apple.com> | 2021-09-01 11:09:16 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2021-09-01 11:15:36 -0700 |
commit | 12de296d840caf3d83eb1475195a023868be0c61 (patch) | |
tree | 00bf3f912c62c62c09c97d187bd1249e581a7c62 /clang/unittests/Basic/FileManagerTest.cpp | |
parent | af1ca4353e83a2c8cfa7d9698bb83133d2d733a0 (diff) | |
download | llvm-12de296d840caf3d83eb1475195a023868be0c61.zip llvm-12de296d840caf3d83eb1475195a023868be0c61.tar.gz llvm-12de296d840caf3d83eb1475195a023868be0c61.tar.bz2 |
Tighten heuristic for coroutine debug info workaround.
The OutermostLoad condition is supposed to strip the outermost
DW_OP_deref operation because dbg.declares are implicitly
indirect. This patch makes sure the heuristic is only applied to
dbg.declare intrinsics and only if the outermost instruction is a
load.
This was found while qualifying the latest Swift compiler rebranch.
rdar://82037764
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions