mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
new: ci: Update Clang to version 21
Merge branch 'mnowak/llvm-21' into 'main' See merge request isc-projects/bind9!10877
This commit is contained in:
commit
3a55bc1e5f
4 changed files with 7 additions and 6 deletions
|
|
@ -14,7 +14,7 @@ variables:
|
|||
BUILD_PARALLEL_JOBS: 6
|
||||
TEST_PARALLEL_JOBS: 4
|
||||
|
||||
CLANG_VERSION: 20
|
||||
CLANG_VERSION: 21
|
||||
CLANG: "clang-${CLANG_VERSION}"
|
||||
SCAN_BUILD: "scan-build-${CLANG_VERSION}"
|
||||
LLVM_SYMBOLIZER: "/usr/lib/llvm-${CLANG_VERSION}/bin/llvm-symbolizer"
|
||||
|
|
|
|||
|
|
@ -111,11 +111,11 @@ struct dns_rrl_entry {
|
|||
unsigned int log_qname : DNS_RRL_QNAMES_BITS;
|
||||
|
||||
#define DNS_RRL_TS_GEN_BITS 2
|
||||
unsigned int ts_gen : DNS_RRL_TS_GEN_BITS;
|
||||
unsigned int ts_gen : DNS_RRL_TS_GEN_BITS;
|
||||
unsigned int ts_valid : 1;
|
||||
#define DNS_RRL_HASH_GEN_BITS 1
|
||||
unsigned int hash_gen : DNS_RRL_HASH_GEN_BITS;
|
||||
unsigned int logged : 1;
|
||||
unsigned int logged : 1;
|
||||
#define DNS_RRL_LOG_BITS 11
|
||||
unsigned int log_secs : DNS_RRL_LOG_BITS;
|
||||
|
||||
|
|
|
|||
|
|
@ -1556,7 +1556,8 @@ isc__log_initialize(void) {
|
|||
|
||||
isc__lctx = isc_mem_get(mctx, sizeof(*isc__lctx));
|
||||
*isc__lctx = (isc_log_t){
|
||||
.magic = LCTX_MAGIC, .mctx = mctx, /* implicit attach */
|
||||
.magic = LCTX_MAGIC,
|
||||
.mctx = mctx, /* implicit attach */
|
||||
};
|
||||
|
||||
isc_mutex_init(&isc__lctx->lock);
|
||||
|
|
|
|||
|
|
@ -180,8 +180,8 @@ teardown_managers(void **state);
|
|||
setup_mctx(NULL); \
|
||||
setup_workers(NULL); \
|
||||
\
|
||||
while ((c = isc_commandline_parse(argc, argv, "dlt:")) != -1) \
|
||||
{ \
|
||||
while ((c = isc_commandline_parse(argc, argv, "dlt:")) != \
|
||||
-1) { \
|
||||
switch (c) { \
|
||||
case 'd': \
|
||||
debug = true; \
|
||||
|
|
|
|||
Loading…
Reference in a new issue