[all-commits] [llvm/llvm-project] b3b8c8: [Driver] Add option to force udnefined symbols dur...

Garvit Gupta via All-commits all-commits at lists.llvm.org
Fri Apr 4 08:54:22 PDT 2025


  Branch: refs/heads/users/quic-garvgupt/undefined
  Home:   https://github.com/llvm/llvm-project
  Commit: b3b8c8e629ea6fca9444f01ebd51939eb4fe1673
      https://github.com/llvm/llvm-project/commit/b3b8c8e629ea6fca9444f01ebd51939eb4fe1673
  Author: Garvit Gupta <quic_garvgupt at quicinc.com>
  Date:   2025-04-04 (Fri, 04 Apr 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:
  -----------
  [Driver] Add option to force udnefined symbols during linking in BareMetal
toolchain object.

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

Change-Id: Ia6597c756923a77fd9c7cb9a6ae8e52a56f5457d



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