[all-commits] [llvm/llvm-project] 48d5ad: [OpenMP][NFC] Clean up Twines and other issues in ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Mar 1 13:05:12 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 48d5ad93cd6921de498a00421d696dba33fac7e4
      https://github.com/llvm/llvm-project/commit/48d5ad93cd6921de498a00421d696dba33fac7e4
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M llvm/include/llvm/Frontend/OpenMP/OMPGridValues.h
    M openmp/libomptarget/plugins-nextgen/amdgpu/src/rtl.cpp
    M openmp/libomptarget/plugins-nextgen/common/PluginInterface/PluginInterface.cpp

  Log Message:
  -----------
  [OpenMP][NFC] Clean up Twines and other issues in plugins

Summary:
Tihs patch is mostly NFC to fix some warning currently present in OpenMP
offloading plugins. Specifically this mostly removes the use of Twine
variables in favor of LLVM's small string. Twine variables are prone to
use-after-free and this is a cleaner way to concatenate a string.




More information about the All-commits mailing list