[all-commits] [llvm/llvm-project] 38013a: [TextAPI] Add option to filter out unsupported/unk...

Cyndy Ishida via All-commits all-commits at lists.llvm.org
Mon May 4 08:56:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 38013ad8fe94c62641e246079f74db0747fb4bf2
      https://github.com/llvm/llvm-project/commit/38013ad8fe94c62641e246079f74db0747fb4bf2
  Author: Cyndy Ishida <cyndy_ishida at apple.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M llvm/include/llvm/Object/TapiUniversal.h
    M llvm/include/llvm/TextAPI/Target.h
    M llvm/include/llvm/TextAPI/TextAPIReader.h
    M llvm/lib/Object/TapiUniversal.cpp
    M llvm/lib/TextAPI/TextAPIContext.h
    M llvm/lib/TextAPI/TextStub.cpp
    M llvm/lib/TextAPI/TextStubV5.cpp
    M llvm/unittests/TextAPI/TextStubHelpers.h
    M llvm/unittests/TextAPI/TextStubV3Tests.cpp
    M llvm/unittests/TextAPI/TextStubV4Tests.cpp
    M llvm/unittests/TextAPI/TextStubV5Tests.cpp

  Log Message:
  -----------
  [TextAPI] Add option to filter out unsupported/unknown/invalid targets (#195161)

Pipe `SkipUnknownTriples` flag through TBD file YAML and v5 JSON
parsers.
When set, target strings with an unknown architecture or platform are
dropped from the parsed `InterfaceFile` instead of producing a fatal
parse error.

Additionally, "unknown architecture"/"unknown platform" parse errors are
collapsed into a single "unknown target" message.

  resolves: rdar://175690963



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