1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 10:42:36 +01:00
This commit is contained in:
kd-11 2024-08-18 15:09:10 +03:00 committed by kd-11
parent ca4fa1ac74
commit fbcd8e32b8
2 changed files with 4 additions and 1 deletions

View File

@ -391,6 +391,9 @@ namespace aarch64
const auto this_name = f.getName().str();
// Insert breadcrumb info before the call
// WARNING: This can corrupt the call because LLVM somehow ignores the clobbered register during a call instruction for some reason
// In case of a blr on x27..x29 you can end up corrupting the binary, but it is invaluable for debugging.
// Debug frames are disabled in shipping code so this is not a big deal.
if (m_config.debug_info)
{
// Call-chain tracing

View File

@ -48,7 +48,7 @@ PPUTranslator::PPUTranslator(LLVMContext& context, Module* _module, const ppu_mo
aarch64::GHC_frame_preservation_pass::config_t config =
{
.debug_info = true, // Set to "true" to insert debug frames on x27
.debug_info = false, // Set to "true" to insert debug frames on x27
.use_stack_frames = false, // We don't need this since the PPU GW allocates global scratch on the stack
.hypervisor_context_offset = ::offset32(&ppu_thread::hv_ctx),
.exclusion_callback = {}, // Unused, we don't have special exclusion functions on PPU