diff options
author | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2019-11-03 17:37:34 +0100 |
---|---|---|
committer | Bjorn Pettersson <bjorn.a.pettersson@ericsson.com> | 2019-11-03 17:37:49 +0100 |
commit | e2549a0a2517514f87005a63ce4fddb1877b2307 (patch) | |
tree | aaf09eccc63104fc7487197c4ed556a9d5a47c26 /llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp | |
parent | c4305337716f0f3eb76400f288cd0dee001d744d (diff) | |
download | llvm-e2549a0a2517514f87005a63ce4fddb1877b2307.zip llvm-e2549a0a2517514f87005a63ce4fddb1877b2307.tar.gz llvm-e2549a0a2517514f87005a63ce4fddb1877b2307.tar.bz2 |
[DebugInfo] Fix for DW_OP_LLVM_fragment in DIExpression::isImplicit()
DIExpression::isImplicit() did not handle DW_OP_LLVM_fragment
correctly. It was scanning the elements in the expression by
iterating from the end. But we do not know the position of
ops unless we iterate from the beginning of the expression,
since DW_OP:s and their operands are stored flat in the expression
list. The old code also assumed that a DW_OP_LLVM_fragment
only occupied one element in the expression list, but it actually
occupies three elements.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUnrollRuntime.cpp')
0 files changed, 0 insertions, 0 deletions