summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2014-12-29 13:29:36 +0000
committerChandler Carruth <chandlerc@gmail.com>2014-12-29 13:29:36 +0000
commitf3cabbd424c95ea182814cf3939f60e94e031e4c (patch)
treed85e2c0f99f61be8ea79a11304b7bd19663f7897
parent3acfe1a3d93e675812bc2528c0341ced1d5c4513 (diff)
downloadbcm5719-llvm-f3cabbd424c95ea182814cf3939f60e94e031e4c.tar.gz
bcm5719-llvm-f3cabbd424c95ea182814cf3939f60e94e031e4c.zip
Add a missing declaration to our unwind.h implementation. This is
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 llvm-svn: 224933
-rw-r--r--clang/lib/Headers/unwind.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/Headers/unwind.h b/clang/lib/Headers/unwind.h
index 685c1dfd04e..d388ef3cb41 100644
--- a/clang/lib/Headers/unwind.h
+++ b/clang/lib/Headers/unwind.h
@@ -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 *);
OpenPOWER on IntegriCloud