[all-commits] [llvm/llvm-project] f32458: [Libomptarget][NFCI] Remove caching of created ELF...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Dec 20 15:13:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f324584ae3b6330be3d79e89cdacd3969760574e
      https://github.com/llvm/llvm-project/commit/f324584ae3b6330be3d79e89cdacd3969760574e
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2023-12-20 (Wed, 20 Dec 2023)

  Changed paths:
    M openmp/libomptarget/plugins-nextgen/common/include/GlobalHandler.h
    M openmp/libomptarget/plugins-nextgen/common/src/GlobalHandler.cpp
    M openmp/libomptarget/plugins-nextgen/cuda/src/rtl.cpp

  Log Message:
  -----------
  [Libomptarget][NFCI] Remove caching of created ELF files (#76080)

Summary:
We currently keep a cache of created ELF files from the relevant images.
This shouldn't be necessary as the entire ELF interface is generally
trivially constructable and extremely cheap. The cost of constructing
one of these objects is simply a size check and writing a pointer to the
underlying data. Given that, keeping a cache of these images should not
be necessary overall.




More information about the All-commits mailing list