hanchenye-llvm-project/libunwind/include
Dimitry Andric 84af6d10a2 Add missing _US_ACTION_MASK constant to unwind.h
Summary:
During building of recent compiler-rt sources on FreeBSD for arm, I
noticed that our unwind.h (which originates in libunwind) was missing
the `_US_ACTION_MASK` constant:

    compiler-rt/lib/builtins/gcc_personality_v0.c:187:18: error: use of undeclared identifier '_US_ACTION_MASK'
        if ((state & _US_ACTION_MASK) != _US_UNWIND_FRAME_STARTING)
                     ^

It appears that both clang's internal unwind.h, and libgcc's unwind.h
define this constant as 3, so let's add this to libunwind's version too.

Reviewers: logan, kledzik, davide, emaste

Subscribers: joerg, davide, aemerson, emaste, llvm-commits

Differential Revision: https://reviews.llvm.org/D24222

llvm-svn: 280669
2016-09-05 18:01:13 +00:00
..
mach-o libunwind: Use conventional DWARF capitalization in comments and errors 2016-07-19 17:15:50 +00:00
__libunwind_config.h libunwind: limit stack usage in unwind cursor 2016-07-20 15:19:09 +00:00
libunwind.h libunwind: fix X86 register numbers for FreeBSD/i386 2016-08-30 15:10:08 +00:00
unwind.h Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00