Skip to content

Commit

Permalink
Merge pull request getsentry#3 from Civil/master
Browse files Browse the repository at this point in the history
Update modulefinder to compile on riscv
  • Loading branch information
alexey-milovidov authored Oct 22, 2021
2 parents 94644e9 + dd25fa9 commit f431047
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/modulefinder/sentry_modulefinder_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -375,10 +375,12 @@ try_append_module(sentry_value_t modules, const sentry_module_t *module)
// copied from:
// https://github.com/google/breakpad/blob/216cea7bca53fa441a3ee0d0f5fd339a3a894224/src/client/linux/minidump_writer/linux_dumper.h#L61-L70
#if defined(__i386) || defined(__ARM_EABI__) \
|| (defined(__mips__) && _MIPS_SIM == _ABIO32)
|| (defined(__mips__) && _MIPS_SIM == _ABIO32) \
|| (defined(__riscv) && __riscv_xlen == 32)
typedef Elf32_auxv_t elf_aux_entry;
#elif defined(__x86_64) || defined(__aarch64__) \
|| (defined(__mips__) && _MIPS_SIM != _ABIO32)
#elif defined(__x86_64) || defined(__aarch64__) \
|| (defined(__mips__) && _MIPS_SIM != _ABIO32) \
|| (defined(__riscv) && __riscv_xlen == 64)
typedef Elf64_auxv_t elf_aux_entry;
#endif

Expand Down

0 comments on commit f431047

Please sign in to comment.