[all-commits] [llvm/llvm-project] aa8a0c: [clang][DebugInfo][NFC] Add createConstantValueExp...

Michael Buch via All-commits all-commits at lists.llvm.org
Mon Nov 6 01:22:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa8a0c0e7b819e7183ca2008d0da46542a7d6ce2
      https://github.com/llvm/llvm-project/commit/aa8a0c0e7b819e7183ca2008d0da46542a7d6ce2
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2023-11-06 (Mon, 06 Nov 2023)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h

  Log Message:
  -----------
  [clang][DebugInfo][NFC] Add createConstantValueExpression helper (#70674)

This patch factors out the code to create a DIExpression from an APValue
into a separate helper function.

This will be useful in a follow-up patch where we re-use this logic
elsewhere.

Pre-requisite for https://github.com/llvm/llvm-project/pull/70639




More information about the All-commits mailing list