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

Garvit Gupta via All-commits all-commits at lists.llvm.org
Tue Jun 17 11:20:06 PDT 2025


  Branch: refs/heads/users/quic-garvgupt/undefined
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f26ac995e18f71ec8bccdb5b39be95bf629da19
      https://github.com/llvm/llvm-project/commit/7f26ac995e18f71ec8bccdb5b39be95bf629da19
  Author: Garvit Gupta <quic_garvgupt at quicinc.com>
  Date:   2025-06-17 (Tue, 17 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:
  -----------
  [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