search for: usebegin

Displaying 3 results from an estimated 3 matches for "usebegin".

Did you mean: use_begin
2016 Feb 25
0
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
...Use **HungOffOperandList = static_cast<Use **>(Usr) - 1; // drop the hung off uses. Use::zap(*HungOffOperandList, *HungOffOperandList + Obj->NumUserOperands, /* Delete */ true); ::operator delete(HungOffOperandList); } else if (Obj->HasDescriptor) { Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; Use::zap(UseBegin, UseBegin + Obj->NumUserOperands, /* Delete */ false); auto *DI = reinterpret_cast<DescriptorInfo *>(UseBegin) - 1; uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - DI->SizeInBytes; :...
2016 Feb 26
2
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
..._cast<Use **>(Usr) - 1; > // drop the hung off uses. > Use::zap(*HungOffOperandList, *HungOffOperandList + > Obj->NumUserOperands, > /* Delete */ true); > ::operator delete(HungOffOperandList); > } else if (Obj->HasDescriptor) { > Use *UseBegin = static_cast<Use *>(Usr) - Obj->NumUserOperands; > Use::zap(UseBegin, UseBegin + Obj->NumUserOperands, /* Delete */ > false); > > auto *DI = reinterpret_cast<DescriptorInfo *>(UseBegin) - 1; > uint8_t *Storage = reinterpret_cast<uint8_t *>(DI) - D...
2016 Feb 25
2
Heap problems with 3.8.0rc2 in combination with vs2015 sp1
I made the llvm::Function() constructor public (for testing purpose) and used the non-overloaded new. auto func = ::new llvm::Function(...) if (func) func->eraseFromParent(); And the heap corruption is gone! Did something changed in llvm::User::new between 3.7.1 and 3.8.0 ? I found a bug in llvm ? On Thu, Feb 25, 2016 at 12:10 PM, koffie drinker <gekkekoe at gmail.com> wrote: > I