[all-commits] [llvm/llvm-project] 29c830: [test][DebugInfo] Fix location of test build artif...

Jordan Rupprecht via All-commits all-commits at lists.llvm.org
Tue Oct 28 06:51:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 29c830cbf8c65fcab7f96f92c8466cbcc9924dd1
      https://github.com/llvm/llvm-project/commit/29c830cbf8c65fcab7f96f92c8466cbcc9924dd1
  Author: Jordan Rupprecht <rupprecht at google.com>
  Date:   2025-10-28 (Tue, 28 Oct 2025)

  Changed paths:
    M llvm/test/tools/llvm-dwarfdump/X86/type_units_split_dwp_v4.s

  Log Message:
  -----------
  [test][DebugInfo] Fix location of test build artifacts (#165349)

The test added in #161067 writes artifacts to the current dir, i.e.
`test.o` / `test.dwo` / `test.dwp`, which might not be writeable. Tests
should use `%t` for test artifact location, i.e. `%t.o` / `%t.dwo` /
`%t.dwp` However, since `"test.dwo"` is part of the assembly source file
used as a test input, and that's not something lit will substitute, that
typical approach doesn't work. We can instead ensure the output is in a
good location by running `cd %t` (after setting it up).



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