From 2ce56399e30db62e45869c6fd2d2bbacbb81a7ed 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 0ddaa2604b..0169fe7828 100644 --- a/src/google/protobuf/parse_context.h +++ b/src/google/protobuf/parse_context.h @@ -667,7 +667,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,