Skip to content

Commit

Permalink
Enable ElfFile for Android on ARM64
Browse files Browse the repository at this point in the history
Summary: Android should have the same elf file format as Linux.

Reviewed By: yfeldblum

Differential Revision: D47054976

fbshipit-source-id: dd7c2ad36ce434db6c7aab06177d4b5a53424b9e
  • Loading branch information
Nikolai Stepa authored and facebook-github-bot committed Jul 17, 2023
1 parent 5f87dc2 commit b1cac0a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions folly/experimental/symbolizer/Elf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
#else
#define FOLLY_ELF_NATIVE_CLASS 32
#endif
#elif defined(__ANDROID__)
#define FOLLY_ELF_NATIVE_CLASS __WORDSIZE
#endif // __ELF_NATIVE_CLASS

namespace folly {
Expand Down

0 comments on commit b1cac0a

Please sign in to comment.