[all-commits] [llvm/llvm-project] 4db6c7: [ORC] Switch from strncpy to memcpy to silence mor...

lhames via All-commits all-commits at lists.llvm.org
Fri Jul 14 10:52:13 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4db6c717c4dc768dba2dd4fd25ace1ad9029a32a
      https://github.com/llvm/llvm-project/commit/4db6c717c4dc768dba2dd4fd25ace1ad9029a32a
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-07-14 (Fri, 14 Jul 2023)

  Changed paths:
    M llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

  Log Message:
  -----------
  [ORC] Switch from strncpy to memcpy to silence more GCC warnings.

GCC warns when strncpy doesn't copy the null terminator. See discussion at
https://reviews.llvm.org/rG9d701c8a8d65.




More information about the All-commits mailing list