[all-commits] [llvm/llvm-project] f5f8f3: [GSYM] Update gSym unit test with stable / portabl...

alx32 via All-commits all-commits at lists.llvm.org
Sat Mar 15 20:46:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f5f8f3c64929131664a4dcac04d055488a0a0466
      https://github.com/llvm/llvm-project/commit/f5f8f3c64929131664a4dcac04d055488a0a0466
  Author: alx32 <103613512+alx32 at users.noreply.github.com>
  Date:   2025-03-15 (Sat, 15 Mar 2025)

  Changed paths:
    M llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml

  Log Message:
  -----------
  [GSYM] Update gSym unit test with stable / portable path (#131204)

This patch adds `-fdebug-compilation-dir=.` to the clang invocation in
`llvm/test/tools/llvm-gsymutil/ARM_AArch64/macho-gsym-merged-callsites-dsym.yaml`
and updates the rest of the test accordingly.

Previously, without the newly added argument, the test would
significantly change every time it was regenerated due to the generation
script using a temporary directory as the compilation directory. See
discussion in https://github.com/llvm/llvm-project/pull/129562 for
additional context.

This patch ensures determinism across test update runs - if the test
hasn't been updated and we try to regenerate the contents, nothing will
change.



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