[llvm] TableGen: Emit perfect hash function for runtime libcalls (PR #150192)
Eli Friedman via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 13 13:38:56 PDT 2025
================
@@ -54,6 +54,11 @@ static const char *PreservedSymbols[] = {
"__stack_chk_guard",
};
+static bool isPreservedGlobalVarName(StringRef Name) {
+ return StringRef(PreservedSymbols[0]) == Name ||
----------------
efriedma-quic wrote:
I was expecting just the global, not the function. (I couldn't put the comment directly on the global because GitHub.)
https://github.com/llvm/llvm-project/pull/150192
More information about the llvm-commits
mailing list