search for: owningmodulecontainer

Displaying 8 results from an estimated 8 matches for "owningmodulecontainer".

2016 Feb 24
2
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
...lpLogHeapFailure() Unknown ntdll.dll!string "Enabling heap debug options\n"() Unknown ucrtbase.dll!free() Unknown ConsoleEngine.exe!llvm::Function::`vector deleting destructor'(unsigned int) C++ ConsoleEngine.exe!llvm::Module::~Module(void) C++ ConsoleEngine.exe!llvm::MCJIT::OwningModuleContainer::freeModulePtrSet(class llvm::SmallPtrSet<class llvm::Module *,4> &) C++ ConsoleEngine.exe!llvm::MCJIT::~MCJIT(void) C++ ConsoleEngine.exe!llvm::MCJIT::`vector deleting destructor'(unsigned int) C++ -- Debug Mode stack trace ntdll.dll!RtlpBreakPointHeap() Unknown ntdll.dll!stri...
2016 Feb 25
0
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
...; ntdll.dll!string "Enabling heap debug options\n"() Unknown > ucrtbase.dll!free() Unknown > ConsoleEngine.exe!llvm::Function::`vector deleting destructor'(unsigned > int) C++ > ConsoleEngine.exe!llvm::Module::~Module(void) C++ > ConsoleEngine.exe!llvm::MCJIT::OwningModuleContainer::freeModulePtrSet(class > llvm::SmallPtrSet<class llvm::Module *,4> &) C++ > ConsoleEngine.exe!llvm::MCJIT::~MCJIT(void) C++ > ConsoleEngine.exe!llvm::MCJIT::`vector deleting destructor'(unsigned > int) C++ > > -- Debug Mode stack trace > ntdll.dll!RtlpBreakPo...
2013 Oct 22
0
[LLVMdev] SmallPtrSet patch for MCJIT
...JIT inherits implementations of the FindFunctionNamed and runStaticConstructorsDestructors methods from ExecutionEngine which use the old Modules vector, so you'll need to override these in MCJIT. (The implementations are fairly trivial.) Beyond that I just have a couple of questions. First, OwningModuleContainer::hasModuleBeenAdded seems wrong. It seems to me that it should be equivalent to OwningModuleContain::ownsModule. That is, everything that has been loaded or finalized has also been added. Your implementation checks "has been added but not loaded" but it doesn't seem like that's...
2016 Feb 25
2
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
..."Enabling heap debug options\n"() Unknown >> ucrtbase.dll!free() Unknown >> ConsoleEngine.exe!llvm::Function::`vector deleting >> destructor'(unsigned int) C++ >> ConsoleEngine.exe!llvm::Module::~Module(void) C++ >> ConsoleEngine.exe!llvm::MCJIT::OwningModuleContainer::freeModulePtrSet(class >> llvm::SmallPtrSet<class llvm::Module *,4> &) C++ >> ConsoleEngine.exe!llvm::MCJIT::~MCJIT(void) C++ >> ConsoleEngine.exe!llvm::MCJIT::`vector deleting destructor'(unsigned >> int) C++ >> >> -- Debug Mode stack trace &g...
2013 Oct 22
2
[LLVMdev] SmallPtrSet patch for MCJIT
Hi Andy, Here is the patch. it incorporates: 1) your latest patch to SVN. 2) mcjit-module-state-optimization.patch. 3) the PtrSet changes. Other than the OwnedModules implementation there were other differences between 1) and 2), especially in the Finalize* functions, so please review that I got the right code. I got bitten by subtle bugs arising from MCJIT inheriting from EE: First, MCJIT
2016 Feb 25
0
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
...debug options\n"() Unknown >>> ucrtbase.dll!free() Unknown >>> ConsoleEngine.exe!llvm::Function::`vector deleting >>> destructor'(unsigned int) C++ >>> ConsoleEngine.exe!llvm::Module::~Module(void) C++ >>> ConsoleEngine.exe!llvm::MCJIT::OwningModuleContainer::freeModulePtrSet(class >>> llvm::SmallPtrSet<class llvm::Module *,4> &) C++ >>> ConsoleEngine.exe!llvm::MCJIT::~MCJIT(void) C++ >>> ConsoleEngine.exe!llvm::MCJIT::`vector deleting destructor'(unsigned >>> int) C++ >>> >>> -- D...
2013 Oct 22
1
[LLVMdev] SmallPtrSet patch for MCJIT
...ticConstructorsDestructors methods from ExecutionEngine which use the > old Modules vector, so you’ll need to override these in MCJIT. (The > implementations are fairly trivial.)**** > > ** ** > > Beyond that I just have a couple of questions.**** > > ** ** > > First, OwningModuleContainer::hasModuleBeenAdded seems wrong. It seems to > me that it should be equivalent to OwningModuleContain::ownsModule. That > is, everything that has been loaded or finalized has also been added. Your > implementation checks “has been added but not loaded” but it doesn’t seem > like that...
2016 Feb 26
2
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
...t;() Unknown >>>> ucrtbase.dll!free() Unknown >>>> ConsoleEngine.exe!llvm::Function::`vector deleting >>>> destructor'(unsigned int) C++ >>>> ConsoleEngine.exe!llvm::Module::~Module(void) C++ >>>> ConsoleEngine.exe!llvm::MCJIT::OwningModuleContainer::freeModulePtrSet(class >>>> llvm::SmallPtrSet<class llvm::Module *,4> &) C++ >>>> ConsoleEngine.exe!llvm::MCJIT::~MCJIT(void) C++ >>>> ConsoleEngine.exe!llvm::MCJIT::`vector deleting destructor'(unsigned >>>> int) C++ >>>&g...