[PATCH] D96597: [DebugInfo] Keep the DWARF64 flag in the module metadata

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 12 05:50:14 PST 2021


ikudrin created this revision.
ikudrin added reviewers: ayermolo, MaskRay, wenlei, dblaikie.
ikudrin added projects: LLVM, clang, debug-info.
Herald added subscribers: dexonsmith, ormris, hiraditya.
ikudrin requested review of this revision.

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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D96597

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96597.323298.patch
Type: text/x-patch
Size: 4941 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210212/efc60117/attachment.bin>


More information about the llvm-commits mailing list