diff options
author | Alexey Lapshin <a.v.lapshin@mail.ru> | 2019-09-11 06:07:16 +0000 |
---|---|---|
committer | Alexey Lapshin <a.v.lapshin@mail.ru> | 2019-09-11 06:07:16 +0000 |
commit | 6b1c6c1287dc1bb4511687d2795d00046a804572 (patch) | |
tree | ee1ccbc2b33b0126219f36ec3e82252b0f2ff99d /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 9ca1b94a6d3f491f26ccbeacf910342e6861fc7f (diff) | |
download | llvm-6b1c6c1287dc1bb4511687d2795d00046a804572.zip llvm-6b1c6c1287dc1bb4511687d2795d00046a804572.tar.gz llvm-6b1c6c1287dc1bb4511687d2795d00046a804572.tar.bz2 |
[Debuginfo][Instcombiner] Do not clone dbg.declare.
TryToSinkInstruction() has a bug: While updating debug info for
sunk instruction, it could clone dbg.declare intrinsic.
That is wrong. There could be only one dbg.declare.
The fix is to not clone dbg.declare intrinsic and to update
it`s arguments, to not to point to sunk instruction.
Differential Revision: https://reviews.llvm.org/D67217
llvm-svn: 371587
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions