[all-commits] [llvm/llvm-project] 8420a5: [Debugify] Expose original debug info preservation...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Thu Mar 25 05:31:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8420a5332486c682c1aaddbcb58a571869d19832
      https://github.com/llvm/llvm-project/commit/8420a5332486c682c1aaddbcb58a571869d19832
  Author: Djordje Todorovic <djtodoro at cisco.com>
  Date:   2021-03-25 (Thu, 25 Mar 2021)

  Changed paths:
    M clang/include/clang/Basic/CodeGenOptions.def
    M clang/include/clang/Basic/CodeGenOptions.h
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Options.td
    M clang/lib/CodeGen/BackendUtil.cpp
    M clang/lib/Frontend/CompilerInvocation.cpp
    A clang/test/Driver/verify-debug-info-preservation.c
    M llvm/docs/HowToUpdateDebugInfo.rst

  Log Message:
  -----------
  [Debugify] Expose original debug info preservation check as CC1 option

In order to test the preservation of the original Debug Info metadata
in your projects, a front end option could be very useful, since users
usually report that a concrete entity (e.g. variable x, or function fn2())
is missing debug info. The [0] is an example of running the utility
on GDB Project.

This depends on: D82546 and D82545.

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




More information about the All-commits mailing list