From f02f8279ce9e01ed87dcb5d54926c6ac62c84d30 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Thu, 23 Feb 2023 16:30:04 -0800 Subject: [PATCH] Ensure VarintParseSlowArm{32,64} are exported with PROTOBUF_EXPORT This should fix issue #11996. PiperOrigin-RevId: 511917449 --- src/google/protobuf/parse_context.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/google/protobuf/parse_context.h b/src/google/protobuf/parse_context.h index e5b13a027e..4b82927a7c 100644 --- a/src/google/protobuf/parse_context.h +++ b/src/google/protobuf/parse_context.h @@ -617,7 +617,9 @@ inline const char* VarintParseSlow(const char* p, uint32_t res, uint64_t* out) { } #ifdef __aarch64__ +PROTOBUF_EXPORT const char* VarintParseSlowArm64(const char* p, uint64_t* out, uint64_t first8); +PROTOBUF_EXPORT const char* VarintParseSlowArm32(const char* p, uint32_t* out, uint64_t first8); inline const char* VarintParseSlowArm(const char* p, uint32_t* out,