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

Victor Campos via All-commits all-commits at lists.llvm.org
Tue Jan 14 06:09:37 PST 2025


  Branch: refs/heads/users/vhscampos/multilib-flags-processing
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d36f0fd176c85bfeee7a890ab638a16ca43c44d
      https://github.com/llvm/llvm-project/commit/7d36f0fd176c85bfeee7a890ab638a16ca43c44d
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  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


  Commit: 131a8cac8910c78df9091f8a5c5144ace013e012
      https://github.com/llvm/llvm-project/commit/131a8cac8910c78df9091f8a5c5144ace013e012
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M clang/lib/Driver/Driver.cpp

  Log Message:
  -----------
  Fix clang-format errors


  Commit: 403ee8c40fa4e0cda2b2edc5b4fd688ae3f7ab5f
      https://github.com/llvm/llvm-project/commit/403ee8c40fa4e0cda2b2edc5b4fd688ae3f7ab5f
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M clang/test/Driver/baremetal-multilib-custom-flags.yaml

  Log Message:
  -----------
  Disable test on Windows

The expected output is reliant on the syntax of file hierarchy. This
varies significantly between Linux and Windows. Following what other
multilib tests do, I am disabling the test on Windows.


  Commit: aa46b7b15d63f2a83dc45ccea1deb9204c94449e
      https://github.com/llvm/llvm-project/commit/aa46b7b15d63f2a83dc45ccea1deb9204c94449e
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    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
    M clang/test/Driver/baremetal-multilib-custom-flags.yaml

  Log Message:
  -----------
  Repurpose DriverArgs to MacroDefines


  Commit: 46b830b732793f7b6129bec2f2612b54c66f9826
      https://github.com/llvm/llvm-project/commit/46b830b732793f7b6129bec2f2612b54c66f9826
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M clang/lib/Driver/Multilib.cpp

  Log Message:
  -----------
  Add clarifying comment


  Commit: a92176634a398c667fcc515d546af86edc5ba14c
      https://github.com/llvm/llvm-project/commit/a92176634a398c667fcc515d546af86edc5ba14c
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M clang/lib/Driver/Driver.cpp

  Log Message:
  -----------
  Fix clang-format error


  Commit: 71dd4c28c6ab995eb1458a5782c774d0e22e0fa9
      https://github.com/llvm/llvm-project/commit/71dd4c28c6ab995eb1458a5782c774d0e22e0fa9
  Author: Victor Campos <victor.campos at arm.com>
  Date:   2025-01-14 (Tue, 14 Jan 2025)

  Changed paths:
    M clang/lib/Driver/Multilib.cpp

  Log Message:
  -----------
  Rewrite code for the removal of shared_ptr use


Compare: https://github.com/llvm/llvm-project/compare/06a5187451c7...71dd4c28c6ab

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