[all-commits] [llvm/llvm-project] 521c2e: [llvm][Support] Make createUniquePath require at l...

Jon Roelofs via All-commits all-commits at lists.llvm.org
Wed Mar 4 16:00:00 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 521c2e14957a20bd0f13595cd4262443d841a3a4
      https://github.com/llvm/llvm-project/commit/521c2e14957a20bd0f13595cd4262443d841a3a4
  Author: Jon Roelofs <jonathan_roelofs at apple.com>
  Date:   2026-03-04 (Wed, 04 Mar 2026)

  Changed paths:
    M lldb/unittests/Host/SocketTest.cpp
    M lldb/unittests/Interpreter/TestCompletion.cpp
    M llvm/include/llvm/Support/FileSystem.h
    M llvm/lib/Support/Path.cpp
    M llvm/unittests/ExecutionEngine/Orc/LibraryResolverTest.cpp
    M llvm/unittests/Support/Path.cpp
    M llvm/unittests/Support/raw_socket_stream_test.cpp

  Log Message:
  -----------
  [llvm][Support] Make createUniquePath require at least one wildcard marker (#184688)

The API was a bit easy to accidentally mis-use, as it silently accepted
Model strings without any randomness marker characters (`%`), which
results in a unique path that's not at all unique. To avoid this
foot-gun, we now assert that the model contains at least one, and update
all the broken usages accordingly.

rdar://170349565



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