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

Leonard Chan via All-commits all-commits at lists.llvm.org
Thu Jan 30 15:59:26 PST 2020


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

  Changed paths:
    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.

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




More information about the All-commits mailing list