libunwind build regression fix

Jeremy Huddleston Sequoia via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 10:22:19 PDT 2016


Thanks.

> On Oct 13, 2016, at 07:42, Asiri Rathnayake <asiri.rathnayake at arm.com> wrote:
> 
> Hi Jeremy,
> 
> Thanks for the patch, committed as r284125.
> 
> Cheers,
> 
> / Asiri
> 
> ________________________________________
> From: jeremyhu at apple.com <jeremyhu at apple.com> on behalf of Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> Sent: 13 October 2016 06:57
> To: Asiri Rathnayake
> Subject: libunwind build regression fix
> 
> Hi Asiri,
> 
> Could you please push this build fix to libunwind.  Your LIBUNWIND_ENABLE_CROSS_UNWINDING change a few months ago introduced a build failure because uint64_t is used in config.h without an include of <stdint.h> (failure noticed on macOS versions older than 10.9).
> 
> Thanks,
> Jeremy
> 
> 
> From 59508d1029580fe2f95eb4b8a002175c6f87710d Mon Sep 17 00:00:00 2001
> From: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> Date: Wed, 12 Oct 2016 22:52:51 -0700
> Subject: [PATCH] config.h: Add missing include of stdint.h for uint64_t usage
> 
> Regressed-in: trunk r270692
> Regressed-in: d2d1ea9d75dfc4f55540f7e3cf940c6a1d6674cc
> Signed-off-by: Jeremy Huddleston Sequoia <jeremyhu at apple.com>
> CC: Asiri Rathnayake <asiri.rathnayake at arm.com>
> ---
> src/config.h | 1 +
> 1 file changed, 1 insertion(+)
> 
> diff --git a/src/config.h b/src/config.h
> index cfe7706..4e4dd99 100644
> --- a/src/config.h
> +++ b/src/config.h
> @@ -16,6 +16,7 @@
> 
> #include <assert.h>
> #include <stdio.h>
> +#include <stdint.h>
> #include <stdlib.h>
> 
> // Define static_assert() unless already defined by compiler.
> --
> 2.9.3
> 
> IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161013/212506f3/attachment.bin>


More information about the cfe-commits mailing list