From 358ba3741a583763f08890a2fe00370d21ebda9c Mon Sep 17 00:00:00 2001 From: drahn Date: Wed, 28 Apr 2021 22:45:33 +0000 Subject: [PATCH] Enable libunwind on riscv64 getWCookie() is an OpenBSD addition that is needed on new architectures. ok kettenis@ --- gnu/llvm/libunwind/src/Registers.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gnu/llvm/libunwind/src/Registers.hpp b/gnu/llvm/libunwind/src/Registers.hpp index 3fd8b8abf1d..16824caa042 100644 --- a/gnu/llvm/libunwind/src/Registers.hpp +++ b/gnu/llvm/libunwind/src/Registers.hpp @@ -3894,6 +3894,7 @@ public: void setSP(uint64_t value) { _registers[2] = value; } uint64_t getIP() const { return _registers[0]; } void setIP(uint64_t value) { _registers[0] = value; } + uint64_t getWCookie() const { return 0; } private: // _registers[0] holds the pc -- 2.20.1