[all-commits] [llvm/llvm-project] 2d94c0: Reland [Driver] Add option to force undefined symb...

Garvit Gupta via All-commits all-commits at lists.llvm.org
Sun Jun 29 22:28:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2d94c08d03ada0a4d3c30a93594d0381946aa85a
      https://github.com/llvm/llvm-project/commit/2d94c08d03ada0a4d3c30a93594d0381946aa85a
  Author: Garvit Gupta <quic_garvgupt at quicinc.com>
  Date:   2025-06-30 (Mon, 30 Jun 2025)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    A clang/test/Driver/baremetal-undefined-symbols.c
    R clang/test/Driver/riscv-args.c

  Log Message:
  -----------
  Reland [Driver] Add option to force undefined symbols during linking in BareMetal toolchain object.  (#146304)

Add support for `-u` option to force defined symbols. This option is
supported by both lld and gnuld.

This is done as a part of the effort to merge RISCVToolchain object into
BareMetal toolchain object.

This is the 4th patch in the series of patches for merging
RISCVToolchain object into BareMetal toolchain object.

RFC:
https://discourse.llvm.org/t/merging-riscvtoolchain-and-baremetal-toolchains/75524



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