[all-commits] [llvm/llvm-project] 2d3174: [SafeStack][DebugInfo] Insert DW_OP_deref in corre...

Leonard Chan via All-commits all-commits at lists.llvm.org
Thu Jan 30 17:13:00 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d3174c4df6b5f4131346828d0a31675d80d6e2b
      https://github.com/llvm/llvm-project/commit/2d3174c4df6b5f4131346828d0a31675d80d6e2b
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2020-01-30 (Thu, 30 Jan 2020)

  Changed paths:
    M llvm/lib/CodeGen/LiveDebugVariables.cpp
    M llvm/lib/CodeGen/SelectionDAG/InstrEmitter.cpp
    M llvm/test/DebugInfo/COFF/types-array-advanced.ll
    M llvm/test/DebugInfo/X86/safestack-byval.ll
    A llvm/test/DebugInfo/X86/safestack-deref.ll

  Log Message:
  -----------
  [SafeStack][DebugInfo] Insert DW_OP_deref in correct location

This patch addresses the issue found in https://bugs.llvm.org/show_bug.cgi?id=44585
where a DW_OP_deref was placed at the end of a dwarf expression, resulting in corrupt
symbols when debugging.

This is an attempt to reland with a few fixes for buildbot since I
haven't merged from master in a bit.

Differential Revision: https://reviews.llvm.org/D73526




More information about the All-commits mailing list