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

Victor Campos via All-commits all-commits at lists.llvm.org
Thu Oct 24 02:16:41 PDT 2024


  Branch: refs/heads/users/vhscampos/multilib-flags-processing
  Home:   https://github.com/llvm/llvm-project
  Commit: 838993d1fa75688a91a5734ed7a6bd379da9f6e3
      https://github.com/llvm/llvm-project/commit/838993d1fa75688a91a5734ed7a6bd379da9f6e3
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2024-10-23 (Wed, 23 Oct 2024)

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Multilib.h
    M clang/lib/Driver/Driver.cpp
    M clang/lib/Driver/Multilib.cpp
    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