[all-commits] [llvm/llvm-project] d942a8: Make -f[no-]split-dwarf-inlining CC1 default align...

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Mar 1 10:55:37 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d942a82a076d35130376fa786adfc933c7db1c89
      https://github.com/llvm/llvm-project/commit/d942a82a076d35130376fa786adfc933c7db1c89
  Author: Fangrui Song <i at maskray.me>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

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

  Log Message:
  -----------
  Make -f[no-]split-dwarf-inlining CC1 default align with driver default (no inlining)

This makes CC1 and driver defaults consistent.
In addition, for more common cases (-g is specified without -gsplit-dwarf), users will not see -fno-split-dwarf-inlining in CC1 options.

Verified that the below is still true:

* `clang -g` => `splitDebugInlining: false` in DICompileUnit
* `clang -g -gsplit-dwarf` => `splitDebugInlining: false` in DICompileUnit
* `clang -g -gsplit-dwarf -fsplit-dwarf-inlining` => no `splitDebugInlining: false`

Reviewed By: dblaikie

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




More information about the All-commits mailing list