[clang] [llvm] [Support] Add SipHash-based 16/64-bit ptrauth stable hash. (PR #93902)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 13:26:59 PDT 2024


================
@@ -0,0 +1,43 @@
+//===- llvm/unittest/Support/SipHashTest.cpp ------------------------------===//
+//
+// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+// See https://llvm.org/LICENSE.txt for license information.
+// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Support/SipHash.h"
+#include "llvm/ADT/StringRef.h"
----------------
kovdan01 wrote:

It looks like that llvm/Support/SipHash.h and gtest/gtest.h includes are enough, other ones should probably be omitted.

https://github.com/llvm/llvm-project/pull/93902


More information about the llvm-commits mailing list