summaryrefslogtreecommitdiffstats
path: root/contrib/llvm/projects/libunwind/src/DwarfParser.hpp
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-07-25 19:37:10 +0000
committeremaste <emaste@FreeBSD.org>2016-07-25 19:37:10 +0000
commite6b691aaee2126afb5fdf66a030dcf2ae89cd56c (patch)
tree42146730892320cb48322c393bdf74bcf6f484ac /contrib/llvm/projects/libunwind/src/DwarfParser.hpp
parent1d1efb9de7257e365eb7ceef9058327b57f8e5e7 (diff)
downloadFreeBSD-src-e6b691aaee2126afb5fdf66a030dcf2ae89cd56c.zip
FreeBSD-src-e6b691aaee2126afb5fdf66a030dcf2ae89cd56c.tar.gz
Merge LLVM libunwind fixes
r302475: libunwind: limit stack usage in unwind cursor This may be reworked upstream but in the interim should address the stack usage issue reported in the PR. r303061: libunwind: Properly align _Unwind_Exception. _Unwind_Exception is required to be double word aligned. GCC has interpreted this to mean "use the maximum useful alignment for the target" so follow that lead. PR: 206384 (r302475) Obtained from: LLVM review D22543 (r303061) Approved by: re (gjb)
Diffstat (limited to 'contrib/llvm/projects/libunwind/src/DwarfParser.hpp')
-rw-r--r--contrib/llvm/projects/libunwind/src/DwarfParser.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/projects/libunwind/src/DwarfParser.hpp b/contrib/llvm/projects/libunwind/src/DwarfParser.hpp
index a19f051..c528847 100644
--- a/contrib/llvm/projects/libunwind/src/DwarfParser.hpp
+++ b/contrib/llvm/projects/libunwind/src/DwarfParser.hpp
@@ -62,7 +62,7 @@ public:
};
enum {
- kMaxRegisterNumber = 120
+ kMaxRegisterNumber = _LIBUNWIND_MAX_REGISTER
};
enum RegisterSavedWhere {
kRegisterUnused,
OpenPOWER on IntegriCloud