[all-commits] [llvm/llvm-project] 85c18d: [Driver] Add -gno-split-dwarf which can disable de...

Fangrui Song via All-commits all-commits at lists.llvm.org
Tue Dec 8 13:29:56 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 85c18d3521e87a22c742be512245665d6bb5bfe2
      https://github.com/llvm/llvm-project/commit/85c18d3521e87a22c742be512245665d6bb5bfe2
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/test/Driver/split-debug.c

  Log Message:
  -----------
  [Driver] Add -gno-split-dwarf which can disable debug fission

Currently when -gsplit-dwarf is specified (could be buried in a build system),
there is no convenient way to cancel debug fission without affecting the debug
information amount (all of -g0, -g1 -fsplit-dwarf-inlining and -gline-directives-only
can, but they affect the debug information amount).

Reviewed By: #debug-info, dblaikie

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




More information about the All-commits mailing list