[PATCH] D105856: [llc] Default MCUseDwarfDirectory to true

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 12 16:31:49 PDT 2021


MaskRay created this revision.
MaskRay added reviewers: debug-info, dblaikie, osandov.
Herald added subscribers: ormris, steven_wu, hiraditya, jholewinski.
MaskRay requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

For Clang, `MCUseDwarfDirectory` is true by default for the majority cases
(-fintegrated-as or -gdwarf-5; most targets use -fintegrated-as by default).
Defaulting MCUseDwarfDirectory to true can reduce the differences between clang
and llc.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105856

Files:
  llvm/test/CodeGen/Generic/dwarf-md5.ll
  llvm/test/CodeGen/Generic/dwarf-source.ll
  llvm/test/DebugInfo/Generic/lto-comp-dir.ll
  llvm/test/DebugInfo/NVPTX/dbg-declare-alloca.ll
  llvm/test/DebugInfo/NVPTX/debug-loc-offset.ll
  llvm/test/DebugInfo/X86/dbg-file-name.ll
  llvm/test/DebugInfo/X86/inline-asm-locs.ll
  llvm/tools/llc/llc.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105856.358097.patch
Type: text/x-patch
Size: 6199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210712/da73ce78/attachment.bin>


More information about the llvm-commits mailing list