[all-commits] [llvm/llvm-project] 8d8f9c: [clang] Add -fdebug-default-version for specifying...

David Blaikie via All-commits all-commits at lists.llvm.org
Thu Nov 7 12:06:15 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8d8f9c24407461fadf1730e80ebcf7c767254715
      https://github.com/llvm/llvm-project/commit/8d8f9c24407461fadf1730e80ebcf7c767254715
  Author: David Blaikie <dblaikie at gmail.com>
  Date:   2019-11-07 (Thu, 07 Nov 2019)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Clang.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.cpp
    M clang/lib/Driver/ToolChains/CommonArgs.h
    A clang/test/Driver/debug-default-version.c

  Log Message:
  -----------
  [clang] Add -fdebug-default-version for specifying the default DWARF version

This flag decouples specifying the DWARF version from enabling/disabling
DWARF in general (or the gN level - gmlt/limited/standalone, etc) while
still allowing existing -gdwarf-N flags to override this default.

Patch by Caroline Tice!

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




More information about the All-commits mailing list