libunwind build regression fix

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 13 07:51:27 PDT 2016


And... apologies for that disclaimer notice.

Cheers,

/ Asiri

________________________________________
From: cfe-commits <cfe-commits-bounces at lists.llvm.org> on behalf of Asiri Rathnayake via cfe-commits <cfe-commits at lists.llvm.org>
Sent: 13 October 2016 15:42
To: Jeremy Huddleston Sequoia
Cc: cfe-commits at lists.llvm.org
Subject: Re: libunwind build regression fix

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.

_______________________________________________
cfe-commits mailing list
cfe-commits at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits



More information about the cfe-commits mailing list