mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-22 10:42:36 +01:00
Cleanup
This commit is contained in:
parent
ca4fa1ac74
commit
fbcd8e32b8
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user