[all-commits] [llvm/llvm-project] 99ec5b: [flang][driver] Support -gdwarf-N option. (#158314)

Abid Qadeer via All-commits all-commits at lists.llvm.org
Mon Sep 15 07:57:54 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 99ec5b95da4fa4e32cf9854513413510d48781f6
      https://github.com/llvm/llvm-project/commit/99ec5b95da4fa4e32cf9854513413510d48781f6
  Author: Abid Qadeer <haqadeer at amd.com>
  Date:   2025-09-15 (Mon, 15 Sep 2025)

  Changed paths:
    M clang/include/clang/Driver/Options.td
    M clang/lib/Driver/ToolChains/Flang.cpp
    M flang/include/flang/Frontend/CodeGenOptions.def
    M flang/lib/Frontend/CompilerInvocation.cpp
    A flang/test/Driver/flang-dwarf-version.f90

  Log Message:
  -----------
  [flang][driver] Support -gdwarf-N option. (#158314)

This PR adds the support for -gdwarf-N option where allows user to
choose the version of the dwarf. Currently N can be 2, 3, 4, or 5. This
is only the driver part of the change. Later PRs will propogate it to
the IR.

Fixes https://github.com/llvm/llvm-project/issues/112910.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list