[all-commits] [llvm/llvm-project] caecca: [lldb] add getFullLibName to PlatformContext (#188...

Charles Zablit via All-commits all-commits at lists.llvm.org
Tue Mar 31 04:10:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: caecca035ab9fdccd1fd1b1b17452b415f89b366
      https://github.com/llvm/llvm-project/commit/caecca035ab9fdccd1fd1b1b17452b415f89b366
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2026-03-31 (Tue, 31 Mar 2026)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
    M lldb/test/API/commands/target/create-deps/TestTargetCreateDeps.py
    M lldb/test/API/functionalities/breakpoint/break_in_loaded_dylib/TestBreakInLoadedDylib.py
    M lldb/test/API/functionalities/executable_first/TestExecutableFirst.py
    M lldb/test/API/functionalities/load_after_attach/TestLoadAfterAttach.py
    M lldb/test/API/functionalities/load_lazy/TestLoadUsingLazyBind.py
    M lldb/test/API/functionalities/load_unload/TestLoadUnload.py
    M lldb/test/API/symbol_ondemand/shared_library/TestSharedLibOnDemand.py

  Log Message:
  -----------
  [lldb] add getFullLibName to PlatformContext (#188772)

This patch introduces `PlatformContext.getFullLibName` which returns the
full dylib name for any platform based on the base name of the dylib.

Example:
```
# Windows
PlatformContext.getFullLibName("Foo") -> "Foo.dll"
# Linux
PlatformContext.getFullLibName("Foo") -> "libFoo.so"
```



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