[all-commits] [llvm/llvm-project] 1048b7: [llvm-exegesis] Make sure auxiliary memory is unli...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Fri Jun 30 12:43:37 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1048b7f8e7c467d1265b3d808ab35ea2e42e79b6
      https://github.com/llvm/llvm-project/commit/1048b7f8e7c467d1265b3d808ab35ea2e42e79b6
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-06-30 (Fri, 30 Jun 2023)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/SubprocessMemory.cpp

  Log Message:
  -----------
  [llvm-exegesis] Make sure auxiliary memory is unlinked after usage

Currently the shm_unlink is never called on the auxiliary memory shared
memory, so it stays around after running llvm-exegesis (including
running the llvm-exegesis tests). This patch adds the auxiliary memory
shared memory name to the SharedMemoryNames list so that it gets
unlinked when the destructor of SubprocessMemory is called.




More information about the All-commits mailing list