]> granicus.if.org Git - clang/commitdiff
Add a missing declaration to our unwind.h implementation. This is
authorChandler Carruth <chandlerc@gmail.com>
Mon, 29 Dec 2014 13:29:36 +0000 (13:29 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 29 Dec 2014 13:29:36 +0000 (13:29 +0000)
necessary to be fully compatible with existing software that calls into
the linux unwind code. You can find documentation of this API and why it
exists in the discussion abot NPTL here:
https://gcc.gnu.org/ml/gcc-patches/2003-09/msg00154.html

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@224933 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Headers/unwind.h

index 685c1dfd04e8173df2d91f4b9b4d16b63fe7bade..d388ef3cb410d129596f9bf49b7e002bcf377c01 100644 (file)
@@ -199,6 +199,8 @@ _Unwind_Word _Unwind_GetIPInfo(struct _Unwind_Context *, int *);
 
 _Unwind_Word _Unwind_GetCFA(struct _Unwind_Context *);
 
+_Unwind_Word _Unwind_GetBSP(struct _Unwind_Context *);
+
 void *_Unwind_GetLanguageSpecificData(struct _Unwind_Context *);
 
 _Unwind_Ptr _Unwind_GetRegionStart(struct _Unwind_Context *);