[all-commits] [llvm/llvm-project] 522ac7: [dsymutil] Bump .dSYM bundle directory mtime after...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri May 29 19:03:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 522ac7582ddad5296c1a2e72b98f4a396dac507d
      https://github.com/llvm/llvm-project/commit/522ac7582ddad5296c1a2e72b98f4a396dac507d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2026-05-29 (Fri, 29 May 2026)

  Changed paths:
    A llvm/test/tools/dsymutil/X86/bundle-mtime.test
    M llvm/tools/dsymutil/dsymutil.cpp

  Log Message:
  -----------
  [dsymutil] Bump .dSYM bundle directory mtime after a rewrite (#199257)

When dsymutil rewrites an existing .dSYM bundle, only the inner DWARF
file is replaced and the bundle directory's mtime stays frozen at the
time of the original build.

macOS Spotlight's bundle re-import path keys off the bundle directory's
mtime to decide whether the importer should re-run. With the mtime
frozen, Spotlight keeps the previous build's UUID indexed forever,
DebugSymbols.framework's Spotlight lookup misses on the new UUID.

Bump the bundle directory's mtime explicitly at the end of a successful
run, reusing the .dSYM extraction already used by the codesign path.

rdar://177725866



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