updated vmprofiler dep...

merge-requests/1/head
_xeroxz 3 years ago
parent 30c9c96173
commit e45edafb81

@ -1 +1 @@
Subproject commit 0cbc83be3fb0f4293146def0c3735f39608f646b Subproject commit c2319117a07d95794f54db970aa7f72e8726349a

@ -38,7 +38,6 @@ namespace vm
std::uintptr_t rtn_begin, std::vector< vm::instrs::code_block_t > vmp2_code_blocks ); std::uintptr_t rtn_begin, std::vector< vm::instrs::code_block_t > vmp2_code_blocks );
llvm_function_t *lift( void ); llvm_function_t *lift( void );
private: private:
llvm_context_t *llvm_ctx; llvm_context_t *llvm_ctx;
llvm_module_t *llvm_module; llvm_module_t *llvm_module;

@ -38,6 +38,7 @@ namespace vm
llvm_fptr = llvm::Function::Create( func_ty, llvm::GlobalValue::LinkageTypes::ExternalLinkage, llvm_fptr = llvm::Function::Create( func_ty, llvm::GlobalValue::LinkageTypes::ExternalLinkage,
rtn_name.str().c_str(), *llvm_module ); rtn_name.str().c_str(), *llvm_module );
for ( const auto &vmp2_code_block : vmp2_code_blocks ) for ( const auto &vmp2_code_block : vmp2_code_blocks )
{ {
// create basic block name... block_xxxxxxxx format... // create basic block name... block_xxxxxxxx format...

Loading…
Cancel
Save