[all-commits] [llvm/llvm-project] 6d2219: [Libomptarget] Pass '-Werror=global-constructors' ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Thu May 16 14:06:42 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6d2219acabc1882508d695e23d444d3e1cae4ff3
      https://github.com/llvm/llvm-project/commit/6d2219acabc1882508d695e23d444d3e1cae4ff3
  Author: Joseph Huber <huberjn at outlook.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M offload/CMakeLists.txt
    M offload/src/CMakeLists.txt

  Log Message:
  -----------
  [Libomptarget] Pass '-Werror=global-constructors' to the libomptarget build (#88531)

Summary:
A runtime library should not have global constructors. Everything is now
expected to go through the init methods. This patch ensures that global
constructors will not accidentally be introduced.



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