Merge branch '_xeroxz' into 'master'

updated vmprofiler dep...

See merge request vmp2/vmdevirt!10
merge-requests/11/merge
_xeroxz 3 years ago
commit c84c28ffd0

@ -1 +1 @@
Subproject commit 9b5f89f4881862598181163069c69f584257d3f0 Subproject commit 90106b0f5e748f1e67e108800ee0463bae5755e3

@ -66,9 +66,6 @@ int main( int argc, const char *argv[] )
vm_enter_offset + file_header->image_base ); vm_enter_offset + file_header->image_base );
return -1; return -1;
} }
std::printf( "> lifted rtn_0x%p, number of blocks = %d\n", vm_enter_offset + file_header->image_base,
vmp2_code_blocks.size() );
} }
llvm::LLVMInitializeX86TargetInfo(); llvm::LLVMInitializeX86TargetInfo();
@ -78,8 +75,6 @@ int main( int argc, const char *argv[] )
llvm::LLVMInitializeX86AsmPrinter(); llvm::LLVMInitializeX86AsmPrinter();
vmp_devirt.compile( compiled_obj ); vmp_devirt.compile( compiled_obj );
std::printf( "> compiled all routines... compiled obj size = %d\n", compiled_obj.size() );
if ( parser.exists( "genobj" ) ) if ( parser.exists( "genobj" ) )
std::ofstream( parser.get< std::string >( "out" ).append( ".o" ), std::ios::binary ) std::ofstream( parser.get< std::string >( "out" ).append( ".o" ), std::ios::binary )
.write( reinterpret_cast< const char * >( compiled_obj.data() ), compiled_obj.size() ); .write( reinterpret_cast< const char * >( compiled_obj.data() ), compiled_obj.size() );

Loading…
Cancel
Save