[all-commits] [llvm/llvm-project] 675d8d: (New) Add option to generate additional debug info...

William Junda Huang via All-commits all-commits at lists.llvm.org
Fri Jun 14 21:03:06 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 675d8d629dbdc794a78d885511eacbabc7929f8a
      https://github.com/llvm/llvm-project/commit/675d8d629dbdc794a78d885511eacbabc7929f8a
  Author: William Junda Huang <williamjhuang at google.com>
  Date:   2024-06-15 (Sat, 15 Jun 2024)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    M clang/lib/CodeGen/CGExprScalar.cpp
    A clang/test/CodeGenCXX/debug-info-ptr-to-ptr.cpp

  Log Message:
  -----------
  (New) Add option to generate additional debug info for expression dereferencing pointer to pointers (#95298)

This is a different implementation to #94100, which has been reverted.

When -fdebug-info-for-profiling is specified, for any Load expression if
the pointer operand is not a declared variable, clang will emit debug
info describing the type of the pointer operand (which can be an
intermediate expr)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list