[all-commits] [llvm/llvm-project] 990534: [DebugInfo] Fix legacy ZExt emission when FromBits...

Vedant Kumar via All-commits all-commits at lists.llvm.org
Wed Oct 28 12:06:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 99053462216cf835eb3ae063942c618d9609de87
      https://github.com/llvm/llvm-project/commit/99053462216cf835eb3ae063942c618d9609de87
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
    A llvm/test/DebugInfo/X86/legacy-zext.ll

  Log Message:
  -----------
  [DebugInfo] Fix legacy ZExt emission when FromBits >= 64 (PR47927)

Fix an out-of-bounds shift in emitLegacyZExt by using a slightly more
complicated dwarf expression to create the zext mask.

This addresses a UBSan diagnostic seen when compiling compiler-rt
(llvm.org/PR47927).

rdar://70307714

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


  Commit: 2ce36ebca544dd71075a7818ff4070da5667603b
      https://github.com/llvm/llvm-project/commit/2ce36ebca544dd71075a7818ff4070da5667603b
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/test/DebugInfo/X86/convert-debugloc.ll
    M llvm/test/DebugInfo/X86/convert-inlined.ll

  Log Message:
  -----------
  [DebugInfo] Shorten legacy [s|z]ext dwarf expressions

Take advantage of the emitConstu helper to emit slightly shorter dwarf
expressions to implement legacy [s|z]ext operations.


  Commit: 158f3360438f92cefc60041dcb8db980d7d1c744
      https://github.com/llvm/llvm-project/commit/158f3360438f92cefc60041dcb8db980d7d1c744
  Author: Vedant Kumar <vsk at apple.com>
  Date:   2020-10-28 (Wed, 28 Oct 2020)

  Changed paths:
    R lldb/utils/test/README-disasm
    R lldb/utils/test/README-lldb-disasm
    R lldb/utils/test/README-run-until-faulted
    R lldb/utils/test/disasm.py
    R lldb/utils/test/lldb-disasm.py
    R lldb/utils/test/llvm-mc-shell.py
    R lldb/utils/test/main.c
    R lldb/utils/test/ras.py
    R lldb/utils/test/run-dis.py
    R lldb/utils/test/run-until-faulted.py

  Log Message:
  -----------
  [lldb] Delete lldb/utils/test

These utilities aren't useful any more -- delete them as a cleanup.

Discussion:
http://lists.llvm.org/pipermail/lldb-dev/2020-October/016536.html


Compare: https://github.com/llvm/llvm-project/compare/41b09f4efff1...158f3360438f


More information about the All-commits mailing list