[all-commits] [llvm/llvm-project] 3fce14: Revert "Add option to generate additional debug in...

William Junda Huang via All-commits all-commits at lists.llvm.org
Tue Jun 11 14:33:43 PDT 2024


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

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

  Log Message:
  -----------
  Revert "Add option to generate additional debug info for expression dereferencing pointer to pointers. #94100" (#95174)

The option is causing the binary output to be different when compiled
under `-O0`, because it introduce dbg.declare on pseudovariables. Going
to change this implementation to use dbg.value instead.



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