Skip to content

Commit

Permalink
di: Switch the log level of skipped types message from WARN to INFO
Browse files Browse the repository at this point in the history
It's going to be printed the most of time, so it's too spammy when
enabled by default.
  • Loading branch information
vadorovsky committed Feb 8, 2024
1 parent 658ed99 commit 5a7c56f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/llvm/di.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ use std::{

use gimli::{DW_TAG_pointer_type, DW_TAG_structure_type, DW_TAG_variant_part};
use llvm_sys::{core::*, debuginfo::*, prelude::*};
use tracing::{span, trace, warn, Level};
use tracing::{info, span, trace, Level};

use super::types::{
di::DIType,
Expand Down Expand Up @@ -306,7 +306,7 @@ impl DISanitizer {
}

if !self.skipped_types.is_empty() {
warn!(
info!(
"debug info was not emitted for the following types: {}",
self.skipped_types.join(", ")
);
Expand Down

0 comments on commit 5a7c56f

Please sign in to comment.