diff options
author | John Baldwin <jhb@FreeBSD.org> | 2022-01-27 22:42:40 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2022-02-20 12:29:09 +0000 |
commit | 62d39fb7c099821fc6f7c3ab1407d71c829c59a6 (patch) | |
tree | 974036303ddf19dc30fda52c94861f59c860aaa1 | |
parent | 3d6285b4dd1c32e290b0a901aa2bf3581b38eb58 (diff) | |
download | src-62d39fb7c099821fc6f7c3ab1407d71c829c59a6.tar.gz src-62d39fb7c099821fc6f7c3ab1407d71c829c59a6.zip |
Change the return value of _Unwind_GetCFA in include/unwind.h.
I tested the original commit as part of a series that culminates in
removing this header and installing LLVM libunwind's unwind.h in its
place so missed updating this header as was done in b84693501af6.
Pointy hat to: jhb
Reported by: kevans
Fixes: 3a502289d316 Use uintptr_t for return type of _Unwind_GetCFA.
(cherry picked from commit 522f5383547a2b3980f097a647b25f12c15411af)
-rw-r--r-- | include/unwind.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/unwind.h b/include/unwind.h index 214fb43730aa..a872c0a094ba 100644 --- a/include/unwind.h +++ b/include/unwind.h @@ -124,7 +124,7 @@ extern unsigned long _Unwind_GetBSP (struct _Unwind_Context *); /* Return the "canonical frame address" for the given context. This is used by NPTL... */ -extern unsigned long _Unwind_GetCFA (struct _Unwind_Context *); +extern uintptr_t _Unwind_GetCFA (struct _Unwind_Context *); /* Return the base-address for data references. */ extern unsigned long _Unwind_GetDataRelBase (struct _Unwind_Context *); |