[all-commits] [llvm/llvm-project] fada27: [llc] Default MCUseDwarfDirectory to true

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Jul 12 17:44:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fada2782cf6f9eab40e1e028b0eca9d85f8800b3
      https://github.com/llvm/llvm-project/commit/fada2782cf6f9eab40e1e028b0eca9d85f8800b3
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-07-12 (Mon, 12 Jul 2021)

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

  Log Message:
  -----------
  [llc] Default MCUseDwarfDirectory to true

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.

Reviewed By: #debug-info, dblaikie

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




More information about the All-commits mailing list