Skip to content

Commit

Permalink
[riscv64][android] add riscv64 abi for crashpad
Browse files Browse the repository at this point in the history
co-authors: McKnight22 <[email protected]>
            Wang Chen <[email protected]>

Bug: 1443443
Change-Id: I29a24a80356926a5437a90ff6e433196683569c4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4522370
Reviewed-by: Lei Zhang <[email protected]>
Commit-Queue: Lei Zhang <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1148639}
  • Loading branch information
McKnight22 authored and Chromium LUCI CQ committed May 24, 2023
1 parent 0769438 commit b0f3f4a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/crash/core/app/crashpad_android.cc
Original file line number Diff line number Diff line change
Expand Up @@ -335,6 +335,8 @@ bool GetHandlerTrampoline(std::string* handler_trampoline,
#define CURRENT_ABI "x86_64"
#elif defined(__aarch64__)
#define CURRENT_ABI "arm64-v8a"
#elif defined(__riscv) && (__riscv_xlen == 64)
#define CURRENT_ABI "riscv64"
#else
#error "Unsupported target abi"
#endif
Expand Down

0 comments on commit b0f3f4a

Please sign in to comment.