[all-commits] [llvm/llvm-project] 4b75fc: Triple::normalize: Use none as OS for XX-none-ABI ...

YunQiang Su via All-commits all-commits at lists.llvm.org
Wed May 1 17:05:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4b75fcf0a50f4be955b611e8e20d84d90ea133c8
      https://github.com/llvm/llvm-project/commit/4b75fcf0a50f4be955b611e8e20d84d90ea133c8
  Author: YunQiang Su <syq at debian.org>
  Date:   2024-05-02 (Thu, 02 May 2024)

  Changed paths:
    M clang/docs/Multilib.rst
    M clang/test/Driver/arm-ias-Wa.s
    M clang/test/Driver/arm-triple.c
    M clang/test/Driver/baremetal-multilib-layered.yaml
    M clang/test/Driver/baremetal-multilib.yaml
    M clang/test/Driver/baremetal-sysroot.cpp
    M clang/test/Driver/baremetal.cpp
    M clang/test/Driver/print-multi-selection-flags.c
    M clang/unittests/Interpreter/IncrementalCompilerBuilderTest.cpp
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  Triple::normalize: Use none as OS for XX-none-ABI (#89638)

When parsing a 3-component triple, after we determine Arch and Env, if
the middle component is "none", treat it as OS instead of Vendor.

See:
https://discourse.llvm.org/t/rfc-baremetal-target-triple-normalization/78524
Fixes: #89582.



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