Files
freebsd/contrib
Dimitry Andric 8a8c14464d Merge commit 1f332ae4f1b3 from llvm-project (by Alexander Kornienko):
Fix -Wformat diagnostic after #190965 (#193704)

  Fixes libunwind compiler diagnostic when building with clang after
  034d4dcad6396d1241e8262e69871b8d61da7e4f:
  ```
  In file included from libunwind/src/libunwind.cpp:31:
  In file included from libunwind/src/UnwindCursor.hpp:52:
  libunwind/src/CompactUnwinder.hpp:339:46: error: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
    338 |                            "function starting at 0x%llX",
        |                                                    ~~~~
        |                                                    %lX
    339 |                             compactEncoding, functionStart);
        |                                              ^~~~~~~~~~~~~
  libunwind/src/config.h:215:63: note: expanded from macro '_LIBUNWIND_DEBUG_LOG'
    215 |   #define _LIBUNWIND_DEBUG_LOG(msg, ...)  _LIBUNWIND_LOG(msg, __VA_ARGS__)
        |                                                          ~~~  ^~~~~~~~~~~
  libunwind/src/config.h:181:45: note: expanded from macro '_LIBUNWIND_LOG'
    181 |     fprintf(stderr, "libunwind: " msg "\n", __VA_ARGS__);                      \
        |                                   ~~~       ^~~~~~~~~~~
  In file included from libunwind/src/libunwind.cpp:31:
  In file included from libunwind/src/UnwindCursor.hpp:52:
  libunwind/src/CompactUnwinder.hpp:458:39: error: format specifies type 'unsigned long long' but the argument has type 'uint64_t' (aka 'unsigned long') [-Werror,-Wformat]
    457 |                            "function starting at 0x%llX",
        |                                                    ~~~~
        |                                                    %lX
    458 |                             encoding, functionStart);
        |                                       ^~~~~~~~~~~~~
  libunwind/src/config.h:215:63: note: expanded from macro '_LIBUNWIND_DEBUG_LOG'
    215 |   #define _LIBUNWIND_DEBUG_LOG(msg, ...)  _LIBUNWIND_LOG(msg, __VA_ARGS__)
        |                                                          ~~~  ^~~~~~~~~~~
  libunwind/src/config.h:181:45: note: expanded from macro '_LIBUNWIND_LOG'
    181 |     fprintf(stderr, "libunwind: " msg "\n", __VA_ARGS__);                      \
        |                                   ~~~       ^~~~~~~~~~~
  ```

This avoids a -Werror failure with clang >= 23.

MFC after:	3 days
2026-09-17 21:36:46 +02:00
..
…
…
2026-07-05 11:31:49 -07:00
2025-11-03 21:18:46 +01:00
2026-09-01 09:27:52 +07:00
2026-09-02 21:30:33 -07:00
…
2026-09-05 10:12:11 -04:00
2026-06-19 09:26:20 +02:00
2026-08-14 23:21:18 -07:00
2026-03-23 11:41:51 -04:00
2026-03-05 17:13:08 +01:00
2026-04-07 09:14:41 -04:00
2026-03-15 00:41:29 -03:00
2026-08-03 15:05:09 +01:00
…
2026-09-16 14:28:14 -07:00
2026-01-11 16:42:18 +00:00
2026-01-14 16:28:57 +01:00
2026-06-09 00:45:34 +02:00
2026-05-12 07:33:03 -07:00
2026-02-01 10:36:15 -05:00
2026-03-15 23:22:18 -03:00
…
…
2026-09-13 15:29:59 +02:00
2026-09-16 14:22:09 +00:00
…
2026-08-10 20:54:02 -07:00
2026-09-13 18:09:38 -07:00