[llvm-branch-commits] compiler-rt: Introduce runtime functions for emulated PAC. (PR #133530)
Chris B via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Mar 31 17:39:46 PDT 2025
================
@@ -0,0 +1,7343 @@
+/*
+ * xxHash - Extremely Fast Hash algorithm
+ * Header File
+ * Copyright (C) 2012-2023 Yann Collet
+ *
+ * BSD 2-Clause License (https://www.opensource.org/licenses/bsd-license.php)
----------------
llvm-beanz wrote:
The introduction of BSD-licensed code to compiler-rt (and especially to compiler-rt's builtins library) poses significant licensing difficulty.
The BSD 2-clause license requires attribution when code is distributed in object form as well as source form, and since the compiler-rt builtins are linked into binaries _built with_ LLVM (not just LLVM itself), the impact of the license here would be transitive to products built using LLVM-based compilers.
This is extremely undesirable, and as such this change will need to replace the xxhash with an alternative hash (ideally under the LLVM license) in order to be integrated.
https://github.com/llvm/llvm-project/pull/133530
More information about the llvm-branch-commits
mailing list