[all-commits] [llvm/llvm-project] 982b89: Store the LocationKind of an entry value buffer in...

adrian-prantl via All-commits all-commits at lists.llvm.org
Fri Feb 12 17:00:00 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 982b891905349e9d6b82f8d89d325b6f2e838435
      https://github.com/llvm/llvm-project/commit/982b891905349e9d6b82f8d89d325b6f2e838435
  Author: Adrian Prantl <aprantl at apple.com>
  Date:   2021-02-12 (Fri, 12 Feb 2021)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.cpp
    M llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h

  Log Message:
  -----------
  Store the LocationKind of an entry value buffer independently from the main LocationKind (NFC)

This patch hides the logic for setting the location kind of an entry
value inside the begin/finalize/cancel functions. This way we get rid
the strange workaround that is currently in setLocation().

In the future, this will allow us to set the location kind of the
entry value independently from the location kind of the main
expression.

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




More information about the All-commits mailing list