Ensure VarintParseSlowArm{32,64} are exported with PROTOBUF_EXPORT

This should fix issue #11996.

PiperOrigin-RevId: 511917449
pull/12043/head
Adam Cozzette 2 years ago
parent 701aa55fc3
commit f02f8279ce
  1. 2
      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__ #ifdef __aarch64__
PROTOBUF_EXPORT
const char* VarintParseSlowArm64(const char* p, uint64_t* out, uint64_t first8); 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); const char* VarintParseSlowArm32(const char* p, uint32_t* out, uint64_t first8);
inline const char* VarintParseSlowArm(const char* p, uint32_t* out, inline const char* VarintParseSlowArm(const char* p, uint32_t* out,

Loading…
Cancel
Save