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

Victor Campos via All-commits all-commits at lists.llvm.org
Tue Oct 1 05:53:35 PDT 2024


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

  Changed paths:
    M clang/include/clang/Basic/DiagnosticDriverKinds.td
    M clang/include/clang/Driver/Multilib.h
    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 in
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 is invalid. The closest valid
value is suggested (string edit distance).

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