[all-commits] [llvm/llvm-project] b2de25: [Multilib] Custom flags processing for library sel...

Victor Campos via All-commits all-commits at lists.llvm.org
Wed Nov 20 06:48:04 PST 2024


  Branch: refs/heads/users/vhscampos/multilib-flags-processing
  Home:   https://github.com/llvm/llvm-project
  Commit: b2de2588d108fa19a957a1525a63d522dee93769
      https://github.com/llvm/llvm-project/commit/b2de2588d108fa19a957a1525a63d522dee93769
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2024-11-20 (Wed, 20 Nov 2024)

  Changed paths:
    M clang/include/clang/Driver/Driver.h
    M clang/include/clang/Driver/Multilib.h
    M clang/include/clang/Driver/ToolChain.h
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/Multilib.cpp
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/lib/Driver/ToolChains/BareMetal.h
    A clang/test/Driver/baremetal-multilib-custom-flags.yaml

  Log Message:
  -----------
  [Multilib] Custom flags processing for library selection

Select library variants in the multilib system using the flags passed
following the '-fmultilib-flag=' format.

Multilib flags that were not passed in the command-line have their
default value fed into the library selection mechanism.

A warning is shown if the flag's value name is invalid. If the wrong
name is close enough to any valid one, according to edit distance, the
closest valid value name is suggested.

Details about this change can be found in this thread:
https://discourse.llvm.org/t/rfc-multilib-custom-flags/81058



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