diff options
| author | Dan Albert <danalbert@google.com> | 2015-01-05 18:07:36 +0000 |
|---|---|---|
| committer | Dan Albert <danalbert@google.com> | 2015-01-05 18:07:36 +0000 |
| commit | 51477ad1a0c8fa45d21fafc15888ef2a513dbeab (patch) | |
| tree | 71b6bc7512771e4da591db83e06fd06d552b72fd /libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c | |
| parent | 150a1dc5c2ce5d035ed048c2b0d07ccf44537e0f (diff) | |
| download | bcm5719-llvm-51477ad1a0c8fa45d21fafc15888ef2a513dbeab.tar.gz bcm5719-llvm-51477ad1a0c8fa45d21fafc15888ef2a513dbeab.zip | |
Make the Unwinder -Werror clean.
Mostly just format string fixes.
Tested clean on arm, x86, and x86_64 Linux.
llvm-svn: 225187
Diffstat (limited to 'libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c')
| -rw-r--r-- | libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c b/libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c index 7b25ccff05b..c119d5724dd 100644 --- a/libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c +++ b/libcxxabi/src/Unwind/UnwindLevel1-gcc-ext.c @@ -10,10 +10,11 @@ // //===----------------------------------------------------------------------===// -#include <stdint.h> +#include <inttypes.h> #include <stdbool.h> -#include <stdlib.h> +#include <stdint.h> #include <stdio.h> +#include <stdlib.h> #include "libunwind.h" #include "unwind.h" @@ -196,8 +197,8 @@ _LIBUNWIND_EXPORT uintptr_t _Unwind_GetCFA(struct _Unwind_Context *context) { unw_cursor_t *cursor = (unw_cursor_t *)context; unw_word_t result; unw_get_reg(cursor, UNW_REG_SP, &result); - _LIBUNWIND_TRACE_API("_Unwind_GetCFA(context=%p) => 0x%llX\n", context, - (uint64_t) result); + _LIBUNWIND_TRACE_API("_Unwind_GetCFA(context=%p) => 0x%" PRIx64 "\n", context, + (uint64_t)result); return (uintptr_t)result; } |

