Displaying 13 results from an estimated 13 matches for "llvm22".
Did you mean:
llvm2
2007 Dec 03
1
[LLVMdev] Using Function Passes from Module Passes
...ing a function pass from a Module pass. My
code is as follows:
DominatorTree & domTree;
...
Function &F = *I; // I is an interator from using Module::begin()
...
domTree = getAnalysis<DominatorTree>(F);
When I compile this code, I get the following error:
/home/vadve/criswell/src/llvm22/include/llvm/Pass.h: In member function
'llvm::FunctionPass& llvm::FunctionPass::operator=(const
llvm::FunctionPass&)':
/home/vadve/criswell/src/llvm22/include/llvm/Pass.h:85: error: 'void
llvm::Pass::operator=(const llvm::Pass&)' is private
/home/vadve/criswell/src/llvm...
2008 Apr 07
2
[LLVMdev] Problem Linking Analysis Group
...n inherited by another pass:
class PoolAllocateSimple : public PoolAllocate {
...
}
When I compile the code into a dynamically linked library, everything is
fine. However, when I try to link that dynamic library into a program
in another project, I get the following error:
/localhome/criswell/llvm22/projects/llvm-poolalloc/Debug/lib/libpoolalloc.so:
undefined reference to `vtable for llvm::PoolAllocateGroup'
/mounts/maute/disks/0/criswell/llvm22/projects/safecode/Debug/lib/libpointerchecks.so:
undefined reference to `typeinfo for llvm::PoolAllocateGroup'
Does anyone know what I migh...
2009 Apr 14
3
[LLVMdev] SVN Head Error Building on Mac OS X
Dear All,
Has anyone else noticed the following problem building LLVM on Mac OS X:
find-cycles.pl: Circular dependency between *.a files:
find-cycles.pl: libLLVMAsmPrinter.a libLLVMCodeGen.a libLLVMSelectionDAG.a
llvm[1]: Building llvm-config script.
cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/FinalLibDeps.txt:
No such file or directory
-- John T.
2009 Apr 14
0
[LLVMdev] SVN Head Error Building on Mac OS X
...t; Has anyone else noticed the following problem building LLVM on Mac OS X:
>
> find-cycles.pl: Circular dependency between *.a files:
> find-cycles.pl: libLLVMAsmPrinter.a libLLVMCodeGen.a libLLVMSelectionDAG.a
> llvm[1]: Building llvm-config script.
> cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/FinalLibDeps.txt:
> No such file or directory
>
I managed to fix this by deleting nearly all of the files in my object
tree, reconfiguring, and rebuilding.
Does anyone know exactly which file I deleted that fixed this?
-- John T.
> -- John T.
>
> _____________...
2008 Feb 15
2
[LLVMdev] Possible Bad Assertion in Value.cpp
Dear All,
I'm getting the following assertion from a program I've written:
/home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:57: virtual
llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a
value is destroyed!"' failed.
This occurs when I free a Module (the program uses an auto_ptr() to the
Module, and the auto_ptr() moves out of scope).
It looks like the co...
2007 Dec 18
2
[LLVMdev] Another Pass Manager Assertion
Dear All,
The attached code (which is a contrived test case) hits the following
assertion:
test:
/home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:226:
AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*,
llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass &&
"getAnalysis*() called on an analysis that was not " "'required' by
pass!"' f...
2009 Apr 14
1
[LLVMdev] SVN Head Error Building on Mac OS X
...roblem building LLVM on Mac
>> OS X:
>>
>> find-cycles.pl: Circular dependency between *.a files:
>> find-cycles.pl: libLLVMAsmPrinter.a libLLVMCodeGen.a
>> libLLVMSelectionDAG.a
>> llvm[1]: Building llvm-config script.
>> cat: /Users/criswell/box/x86/llvm22/tools/llvm-config/
>> FinalLibDeps.txt:
>> No such file or directory
>>
> I managed to fix this by deleting nearly all of the files in my object
> tree, reconfiguring, and rebuilding.
>
> Does anyone know exactly which file I deleted that fixed this?
No, but I've...
2008 Feb 05
1
[LLVMdev] Problem Building llvm-gcc 4.2
Dear All,
I'm getting the following error building mainline llvm-gcc 4.2 (LLVM and
llvm-gcc are up to date):
cc1: /home/vadve/criswell/src/llvm22/lib/VMCore/Instructions.cpp:290:
void llvm::CallInst::init(llvm::Value*, llvm::Value*): Assertion
`(FTy->getNumParams() == 1 || (FTy->isVarArg() && FTy->getNumParams() ==
0)) && "Calling a function with bad signature"' failed.
Is anyone else seeing this?...
2008 Feb 15
0
[LLVMdev] Possible Bad Assertion in Value.cpp
On Feb 15, 2008, at 1:57 PM, John Criswell wrote:
> Dear All,
>
> I'm getting the following assertion from a program I've written:
>
> /home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:57: virtual
> llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a
> value is destroyed!"' failed.
>
> This occurs when I free a Module (the program uses an auto_ptr() to
> the
> Module, and the auto_ptr() moves out of s...
2008 Apr 07
0
[LLVMdev] Problem Linking Analysis Group
On Apr 7, 2008, at 1:54 PM, John Criswell wrote:
>
> /localhome/criswell/llvm22/projects/llvm-poolalloc/Debug/lib/
> libpoolalloc.so:
> undefined reference to `vtable for llvm::PoolAllocateGroup'
> Does anyone know what I might be doing wrong?
The usual answer, you need to define all virtual functions, in
particular, those in the PoolAllocateGroup hierarchy.
2007 Dec 18
0
[LLVMdev] Another Pass Manager Assertion
On Dec 18, 2007, at 10:55 AM, John Criswell wrote:
> Dear All,
>
> The attached code (which is a contrived test case) hits the following
> assertion:
>
> test:
> /home/vadve/criswell/src/llvm22/include/llvm/PassAnalysisSupport.h:
> 226:
> AnalysisType& llvm::Pass::getAnalysisID(const llvm::PassInfo*,
> llvm::Function&) [with AnalysisType = Pass1]: Assertion `ResultPass &&
> "getAnalysis*() called on an analysis that was not " "'required'...
2009 Mar 09
0
[LLVMdev] Question about PRE Pass
Dear All,
I'm getting the following assertion:
llvm-ld: /home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:175: void
llvm::Value::setName(const char*, unsigned int): Assertion `getType() !=
Type::VoidTy && "Cannot assign a name to void values!"' failed.
It seems to be caused by the following line in
lib/Transforms/Scalar/GVN.cpp (line 1566):
PREInstr->setN...
2008 Feb 15
2
[LLVMdev] Possible Bad Assertion in Value.cpp
Chris Lattner wrote:
> On Feb 15, 2008, at 1:57 PM, John Criswell wrote:
>
>
>> Dear All,
>>
>> I'm getting the following assertion from a program I've written:
>>
>> /home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:57: virtual
>> llvm::Value::~Value(): Assertion `use_empty() && "Uses remain when a
>> value is destroyed!"' failed.
>>
>> This occurs when I free a Module (the program uses an auto_ptr() to
>> the
>> Module, and the aut...