[all-commits] [llvm/llvm-project] c34351: Revert "[lld] check cache before real_path in load...

Hans Wennborg via All-commits all-commits at lists.llvm.org
Tue Jun 10 06:38:33 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c34351c92ae6979ccd549403fe97bc7cc2d1ff5b
      https://github.com/llvm/llvm-project/commit/c34351c92ae6979ccd549403fe97bc7cc2d1ff5b
  Author: Hans Wennborg <hans at chromium.org>
  Date:   2025-06-10 (Tue, 10 Jun 2025)

  Changed paths:
    M lld/MachO/DriverUtils.cpp

  Log Message:
  -----------
  Revert "[lld] check cache before real_path in loadDylib (#140791)"

This is causing use-after-frees due to references getting invalidating
after the loadedDylibs map grows, see comments on the PR.

This reverts commit 475a8a47ead32755bb1377d361afbd1928880e14.



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