diff options
author | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2016-05-26 21:45:54 +0000 |
---|---|---|
committer | Asiri Rathnayake <asiri.rathnayake@arm.com> | 2016-05-26 21:45:54 +0000 |
commit | c6a4ab0ce3bb3d4cb3533d3581d8ae6abb230494 (patch) | |
tree | 045622ae06e816a5241200e4d618cee03a9291e2 /libunwind/src/EHHeaderParser.hpp | |
parent | 1ecdedad8d839f5522aabbbdf6dd17541f9cf501 (diff) | |
download | bcm5719-llvm-c6a4ab0ce3bb3d4cb3533d3581d8ae6abb230494.tar.gz bcm5719-llvm-c6a4ab0ce3bb3d4cb3533d3581d8ae6abb230494.zip |
Fix gcc libunwind build.
r270692 seems to have broken gcc builds of libunwind. This is because
statements like:
static_assert(check_fit<Registers_or1k, unw_context_t>::does_fit,
"or1k registers do not fit into unw_context_t");
Do not work when static_assert is a macro taking two parameters, the
extra comma separating the template parameters confuses the pre-processor.
The fix is to change those statements to:
static_assert((check_fit<Registers_or1k, unw_context_t>::does_fit),
"or1k registers do not fit into unw_context_t");
Also fixed a gcc warning about a trivial un-intended narrowing.
Differential revision: http://reviews.llvm.org/D20119
llvm-svn: 270925
Diffstat (limited to 'libunwind/src/EHHeaderParser.hpp')
0 files changed, 0 insertions, 0 deletions