[all-commits] [llvm/llvm-project] 38c195: [LoongArch][Driver] Allow `-gsplit-dwarf` and `-mr...

ZhaoQi via All-commits all-commits at lists.llvm.org
Tue Jan 13 01:27:00 PST 2026


  Branch: refs/heads/users/zhaoqi5/relax-split-dwarf
  Home:   https://github.com/llvm/llvm-project
  Commit: 38c19536feb67ce121427e9ca758539409e179f1
      https://github.com/llvm/llvm-project/commit/38c19536feb67ce121427e9ca758539409e179f1
  Author: Qi Zhao <zhaoqi01 at loongson.cn>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/lib/Driver/ToolChains/Arch/LoongArch.cpp
    M clang/test/Driver/loongarch-relax-features.c
    M llvm/docs/ReleaseNotes.md
    A llvm/test/DebugInfo/LoongArch/relax_dwo_ranges.ll

  Log Message:
  -----------
  [LoongArch][Driver] Allow `-gsplit-dwarf` and `-mrelax` to be used together

Benefit from https://github.com/llvm/llvm-project/pull/166597 and
https://github.com/llvm/llvm-project/pull/164813, DWARF fission is
now compatible with linker relaxation.

Similar to RISC-V, this commit allows `-gsplit-dwarf` and `-mrelax`
to be used together.

A new test `relax_dwo_ranges.ll` same as RISC-V is also added.



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