[all-commits] [llvm/llvm-project] c198dc: Remove extraneous addition of `-X` flag in baremet...

Garvit Gupta via All-commits all-commits at lists.llvm.org
Mon Jul 28 23:56:04 PDT 2025


  Branch: refs/heads/release/21.x
  Home:   https://github.com/llvm/llvm-project
  Commit: c198dc74d0b5f37e541d500674dbd0ae164c0fa8
      https://github.com/llvm/llvm-project/commit/c198dc74d0b5f37e541d500674dbd0ae164c0fa8
  Author: Garvit Gupta <garvgupt at qti.qualcomm.com>
  Date:   2025-07-29 (Tue, 29 Jul 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/test/Driver/baremetal.cpp

  Log Message:
  -----------
  Remove extraneous addition of `-X` flag in baremetal toolchain (#148855)

Commit 597ee88 moved the -X flag to a new position in the baremetal
toolchain's linker job, but unintentionally left the original instance in place.

This patch removes the redundant flag, ensuring -X is passed only once.

(cherry picked from commit 81651e9fd0a744423fc0435f199ef79fb3a91f02)



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