about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJosh Stone <jistone@redhat.com>2018-01-23 13:53:01 -0800
committerJosh Stone <jistone@redhat.com>2018-01-23 13:53:01 -0800
commit7eb7d45c0b0a9dc0454c5f3a3c5e911c7900bbea (patch)
treecc9a7939a8ce7f439c9b37087961158891378185 /src/rustllvm/RustWrapper.cpp
parent4e3901d35f6a8652f67111e7272263c9e62ab3e1 (diff)
downloadrust-7eb7d45c0b0a9dc0454c5f3a3c5e911c7900bbea.tar.gz
rust-7eb7d45c0b0a9dc0454c5f3a3c5e911c7900bbea.zip
Let LLVM 5 add DW_OP_deref to indirect args itself
We needed to manually added the `DW_OP_deref` ourselves in earlier LLVM,
but starting with [D31439] in LLVM 5, it appears that LLVM will always
handle this itself.  When we were still adding this manually, the
resulting `.debug_loc` had too many derefs, and this failed test
`debuginfo/by-value-self-argument-in-trait-impl.rs`.

[D31439]: https://reviews.llvm.org/D31439

Fixes #47611.
cc @alexcrichton
r? @michaelwoerister
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions