artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5809a9
)
Enable libunwind on riscv64
author
drahn
<drahn@openbsd.org>
Wed, 28 Apr 2021 22:45:33 +0000
(22:45 +0000)
committer
drahn
<drahn@openbsd.org>
Wed, 28 Apr 2021 22:45:33 +0000
(22:45 +0000)
getWCookie() is an OpenBSD addition that is needed on new architectures.
ok kettenis@
gnu/llvm/libunwind/src/Registers.hpp
patch
|
blob
|
history
diff --git
a/gnu/llvm/libunwind/src/Registers.hpp
b/gnu/llvm/libunwind/src/Registers.hpp
index
3fd8b8a
..
16824ca
100644
(file)
--- 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