mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00:00
jit: fix assertion in GDBJITRegistrationListener
This commit is contained in:
parent
e2bced978e
commit
37bc73865d
1 changed files with 1 additions and 1 deletions
|
@ -1505,7 +1505,7 @@ void jit_compiler::add(const std::string& path)
|
|||
|
||||
if (auto object_file = llvm::object::ObjectFile::createObjectFile(*cache))
|
||||
{
|
||||
m_engine->addObjectFile( std::move(*object_file) );
|
||||
m_engine->addObjectFile(llvm::object::OwningBinary<llvm::object::ObjectFile>(std::move(*object_file), std::move(cache)));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue