Skip to content

Commit

Permalink
Ensure VarintParseSlowArm{32,64} are exported with PROTOBUF_EXPORT
Browse files Browse the repository at this point in the history
This should fix issue #11996.

PiperOrigin-RevId: 511917449
  • Loading branch information
acozzette authored and Copybara-Service committed Feb 24, 2023
1 parent 63389c0 commit 2ce5639
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/google/protobuf/parse_context.h
Expand Up @@ -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,
Expand Down

0 comments on commit 2ce5639

Please sign in to comment.