Displaying 3 results from an estimated 3 matches for "someothertid".
Did you mean:
someotherdir
2009 Jun 04
1
[LLVMdev] assertion in LeakDetector
...const TargetInstrDesc &TID,
unsigned DestReg)
I do the following :
void createInstrs(std::vector<MachineInstr *>& ilist)
{
Machine Instr *mi;
mi = BuildMI(MF, someTID, somereg);
ilist.push_back(mi);
mi = BuildMI(MF, someotherTID, someotherreg);
ilist.push_back(mi);
}
viud insertInto(MachineBasicBlock *BB, MachineBasicBlock::iterator II)
{
std::vector<MachineInstr *> temp;
createInstrs(temp);
for(unsigned i=0, e=temp.size(); i!=e; ++i)
BB->insert(II, temp[i]);
}
I am getting the assertion during...
2009 Jun 04
2
[LLVMdev] assertion in LeakDetector
I am seeing the following assertion in leak detector.
/llvm/lib/VMCore/LeakDetector.cpp:43:
void<unnamed>::LeakDetectorImpl<T>::addGarbage(const T*) [with T =
void]: Assertion `Ts.count(Cache) == 0 && "Object already in set!"'
failed.
I am creating a list of instructions using BuildMI() and adding them
to a basic block using BB->insert(). I am seeing this
2009 Jun 04
0
[LLVMdev] assertion in LeakDetector
On Wed, Jun 3, 2009 at 5:10 PM, Manjunath Kudlur <keveman at gmail.com> wrote:
> I am seeing the following assertion in leak detector.
>
> /llvm/lib/VMCore/LeakDetector.cpp:43:
> void<unnamed>::LeakDetectorImpl<T>::addGarbage(const T*) [with T =
> void]: Assertion `Ts.count(Cache) == 0 && "Object already in set!"'
> failed.
>
> I am