From 7c7e9427ba4b6031b5a31f05637639b4080c7841 Mon Sep 17 00:00:00 2001 From: IndecisiveTurtle <47210458+raphaelthegreat@users.noreply.github.com> Date: Mon, 1 Jul 2024 13:24:38 +0300 Subject: [PATCH] tls: Switch to trace logs --- src/core/tls.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/tls.cpp b/src/core/tls.cpp index 5999cfe7..3f7bbceb 100644 --- a/src/core/tls.cpp +++ b/src/core/tls.cpp @@ -156,12 +156,12 @@ void PatchTLS(u64 segment_addr, u64 segment_size, Xbyak::CodeGenerator& c) { u64 offset = 0; if (tls_pattern.imm_size == 4) { std::memcpy(&offset, code + tls_pattern.pattern_size, sizeof(u32)); - LOG_INFO(Core_Linker, "PATTERN32 FOUND at {}, reg: {} offset: {:#x}", - fmt::ptr(code), tls_pattern.target_reg, offset); + LOG_TRACE(Core_Linker, "PATTERN32 FOUND at {}, reg: {} offset: {:#x}", + fmt::ptr(code), tls_pattern.target_reg, offset); } else { std::memcpy(&offset, code + tls_pattern.pattern_size, sizeof(u64)); - LOG_INFO(Core_Linker, "PATTERN64 FOUND at {}, reg: {} offset: {:#x}", - fmt::ptr(code), tls_pattern.target_reg, offset); + LOG_ERROR(Core_Linker, "PATTERN64 FOUND at {}, reg: {} offset: {:#x}", + fmt::ptr(code), tls_pattern.target_reg, offset); continue; } ASSERT(offset == 0);