[all-commits] [llvm/llvm-project] aa8428: [DebugInfo] Keep the DWARF64 flag in the module me...

Igor Kudrin via All-commits all-commits at lists.llvm.org
Wed Feb 17 02:06:22 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa842896299b014dc1837f1a01dfccbd94242c84
      https://github.com/llvm/llvm-project/commit/aa842896299b014dc1837f1a01dfccbd94242c84
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M clang/lib/CodeGen/CodeGenModule.cpp
    A clang/test/CodeGen/dwarf-format.c
    M llvm/include/llvm/IR/Module.h
    M llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
    M llvm/lib/IR/Module.cpp
    A llvm/test/DebugInfo/X86/dwarf64-module-flag.ll

  Log Message:
  -----------
  [DebugInfo] Keep the DWARF64 flag in the module metadata

This allows the option to affect the LTO output. Module::Max helps to
generate debug info for all modules in the same format.

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


  Commit: 72eee60b2451e8627e492d42bf1d43247685bef9
      https://github.com/llvm/llvm-project/commit/72eee60b2451e8627e492d42bf1d43247685bef9
  Author: Igor Kudrin <ikudrin at accesssoftek.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/debug-options-as.c
    A clang/test/Misc/cc1as-debug-format.s
    M clang/tools/driver/cc1as_main.cpp

  Log Message:
  -----------
  [Driver] Support -gdwarf64 for assembly files

The option was added in D90507 for C/C++ source files. This patch adds
support for assembly files.

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


Compare: https://github.com/llvm/llvm-project/compare/7b83837af6f4...72eee60b2451


More information about the All-commits mailing list