Displaying 4 results from an estimated 4 matches for "etnode".
Did you mean:
getnode
2007 May 31
0
[LLVMdev] Advice on a VStudio specific patch
On Thu, 31 May 2007, Chuck Rose III wrote:
> Our project is cross platform and on Windows we use VStudio 2005.
> VStudio presents a couple of issues related around it's STL
> implementation and also it's non-respect for the no-return semantic of
> abort().
Ok. We want the source to be portable, so it's goodness to get these
fixes into the main tree.
> I've fixed
2007 May 31
2
[LLVMdev] Advice on a VStudio specific patch
Hola LLVMers,
Our project is cross platform and on Windows we use VStudio 2005.
VStudio presents a couple of issues related around it's STL
implementation and also it's non-respect for the no-return semantic of
abort().
I've fixed it locally, but I'd like to send a patch so I don't have to
do this every time I update from the source repository. So.... if I'm
2006 May 09
1
[LLVMdev] Memory leaks in LLVM
...rs.cpp:297)
==10132== by 0x83D0920: main (opt.cpp:87)
==10132==
==10132==
==10132== 60,172 (15,624 direct, 44,548 indirect) bytes in 558 blocks are
definitely lost in loss record 31 of 33
==10132== at 0x401C7F0: operator new(unsigned) (vg_replace_malloc.c:164)
==10132== by 0x8499B7E: llvm::ETNode::setFather(llvm::ETNode*) (
Dominators.cpp:661)
==10132== by 0x849A2CE:
llvm::ETForest::getNodeForBlock(llvm::BasicBlock*) ( Dominators.cpp:848)
==10132== by 0x849A467:
llvm::ETForest::calculate(llvm::ImmediateDominators const&) (Dominators.cpp
:865)
==10132== by 0x85010FD: llvm::ETFor...
2007 May 31
4
[LLVMdev] Advice on a VStudio specific patch
...abort\n";
OS << "}\n\n";
Need this because otherwise the emitted function will fail to compile in
VStudio.
PredicateSimplifier.cpp:
The other problem is subtle. In the Edge class (for example) this
function will fail to compile in debug.
iterator find(unsigned n, ETNode *Subtree) {
iterator E = end();
for (iterator I = std::lower_bound(begin(), E, n);
I != E && I->To == n; ++I) {
if (Subtree->DominatedBy(I->Subtree))
return I;
}
return E;
}
The debug paths through VStudio...