freebsd-src/contrib/llvm-project
Dimitry Andric f30188c468 Merge commit 9f85bc834b07 from llvm-project (by Nikita Popov):
[PPCMergeStringPool] Only replace constant once (#92996)

  In #88846 I changed this code to use RAUW to perform the replacement
  instead of manual updates -- but kept the outer loop, which means we try
  to perform RAUW once per user. However, some of the users might be freed
  by the RAUW operation, resulting in use-after-free.

  The case where this happens is constant users where the replacement
  might result in the destruction of the original constant.

  Fixes https://github.com/llvm/llvm-project/issues/92991.

This fixes a possible crash when building crypto/openssh/sshkey.c for
PowerPC targets.

Reported by:	cperciva
PR:		276104
MFC after:	3 days
2024-05-30 17:35:15 +02:00
..
clang Merge llvm-project release/18.x llvmorg-18.1.6-0-g1118c2e05e67 2024-05-24 17:58:04 +02:00
compiler-rt Merge commit 0f329e0246d1 from llvm-project (by Dimitry Andric): 2024-04-25 18:47:47 +02:00
libcxx Merge llvm-project release/18.x llvmorg-18.1.6-0-g1118c2e05e67 2024-05-24 17:58:04 +02:00
libunwind Merge llvm-project main llvmorg-18-init-18359-g93248729cfae 2024-04-06 22:13:49 +02:00
lld Merge llvm-project release/18.x llvmorg-18.1.6-0-g1118c2e05e67 2024-05-24 17:58:04 +02:00
lldb Merge llvm-project main llvmorg-18-init-18359-g93248729cfae 2024-04-06 22:13:49 +02:00
llvm Merge commit 9f85bc834b07 from llvm-project (by Nikita Popov): 2024-05-30 17:35:15 +02:00
openmp Merge commit 73bb8d9d92f6 from llvm-project (by Jonathan Peyton): 2024-05-08 20:45:45 +02:00
FREEBSD-Xlist Merge llvm-project main llvmorg-18-init-18359-g93248729cfae 2024-04-06 22:13:49 +02:00