[all-commits] [llvm/llvm-project] 6eb236: [Support][Cache] Make `pruneCache` return an `Expe...

Juan Manuel Martinez Caamaño via All-commits all-commits at lists.llvm.org
Fri Apr 17 02:38:18 PDT 2026


  Branch: refs/heads/users/jmmartinez/error_on_prune
  Home:   https://github.com/llvm/llvm-project
  Commit: 6eb236dd48831a87fc52a042e78572cc4abb8e58
      https://github.com/llvm/llvm-project/commit/6eb236dd48831a87fc52a042e78572cc4abb8e58
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M lld/COFF/LTO.cpp
    M lld/ELF/LTO.cpp
    M lld/MachO/LTO.cpp
    M lld/wasm/LTO.cpp
    M llvm/include/llvm/Support/CachePruning.h
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Support/CachePruning.cpp
    M llvm/tools/gold/gold-plugin.cpp

  Log Message:
  -----------
  [Support][Cache] Make `pruneCache` return an `Expected`

When `sys::fs::disk_space` would fail in during a call to `pruneCache`,
it would report a `fatal_error`. However, a failure to prune doesn't
mean the caller should fail catastrophically.

Downstream, we use LLVM's cache in the OpenCL runtime. A failure to prune
the cache can be safely ignored without stopping the user's application.


  Commit: fcdf7b73838fcc291ec3305302e65f326b49819d
      https://github.com/llvm/llvm-project/commit/fcdf7b73838fcc291ec3305302e65f326b49819d
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M lldb/source/Core/DataFileCache.cpp

  Log Message:
  -----------
  Missing LLDB side


  Commit: 716ff8d6752b0769c2035ca0b716688747fd5772
      https://github.com/llvm/llvm-project/commit/716ff8d6752b0769c2035ca0b716688747fd5772
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp

  Log Message:
  -----------
  Extra )


  Commit: ecda72184ed30dadb9469dc0e5a6e6931a174d72
      https://github.com/llvm/llvm-project/commit/ecda72184ed30dadb9469dc0e5a6e6931a174d72
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp

  Log Message:
  -----------
  Review: no-auto, use Expected<bool>


  Commit: cfab1684edb37c9c73d79c67b173abe92428cc86
      https://github.com/llvm/llvm-project/commit/cfab1684edb37c9c73d79c67b173abe92428cc86
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/include/llvm/Support/CachePruning.h

  Log Message:
  -----------
  Review: typo Peform->Perform


  Commit: e60b80de56eeba4bfc1948fe5ceef07a376a4ee6
      https://github.com/llvm/llvm-project/commit/e60b80de56eeba4bfc1948fe5ceef07a376a4ee6
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Debuginfod/Debuginfod.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp

  Log Message:
  -----------
  Review: ErrOrPruned->PrunedOrErr


  Commit: c3a8823564803be4aeffae3f16596107f9b174af
      https://github.com/llvm/llvm-project/commit/c3a8823564803be4aeffae3f16596107f9b174af
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Support/CachePruning.cpp

  Log Message:
  -----------
  Review: More verbose error on disk space failure


  Commit: 8bf0086b82ce6ae512123dff8b9f5b80a7271e3c
      https://github.com/llvm/llvm-project/commit/8bf0086b82ce6ae512123dff8b9f5b80a7271e3c
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp

  Log Message:
  -----------
  Review: thinlto warns on prune but doesn't abort


  Commit: 3648e6f2ffada6e3fbe73eb5476f7e064bae6c5f
      https://github.com/llvm/llvm-project/commit/3648e6f2ffada6e3fbe73eb5476f7e064bae6c5f
  Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
  Date:   2026-04-17 (Fri, 17 Apr 2026)

  Changed paths:
    M llvm/lib/Debuginfod/Debuginfod.cpp

  Log Message:
  -----------
  Review: debuginfod, warn but not fail


Compare: https://github.com/llvm/llvm-project/compare/888cc1602a23...3648e6f2ffad

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