search for: registerpassbase

Displaying 4 results from an estimated 4 matches for "registerpassbase".

2007 Mar 23
1
[LLVMdev] NEWBIE: deleting Instructions
...fo-output-file' defined more than once! opt: CommandLine Error: Argument 'help' defined more than once! opt: CommandLine Error: Argument 'help-hidden' defined more than once! opt: CommandLine Error: Argument 'version' defined more than once! opt: Pass.cpp:346: void llvm::RegisterPassBase::registerPass(): Assertion `PassInfoMap->find(PIObj.getTypeInfo()) == PassInfoMap->end() && "Pass already registered!"' failed. Aborted PASS: virtual bool runOnFunction(Function &F) { bool change= false; Function* func = &F; for(Function::iterator it...
2008 May 30
0
[LLVMdev] Possibly Vista-related Windows/MinGW Compilation Issues
...raphLinkVar' c:/Build/llvm-build/tools/opt/Release/AnalysisWrappers.o:AnalysisWrappers.cpp:(.text+0x15c): undefined reference to `llvm::IncludeFile::IncludeFile(void*)' c:/Build/llvm-build/tools/opt/Release/AnalysisWrappers.o:AnalysisWrappers.cpp:(.text+0x1e9): undefined reference to `llvm::RegisterPassBase::registerPass()' I thought I'd messed up something related to the linker, but I couldn't explain why XP would work using the same steps. Jonathan _________________________________________________________________ Keep your kids safer online with Windows Live Family Safety. http://www....
2003 Dec 15
1
[LLVMdev] Assertion failed in Pass.cpp
..., I am trying to write a pass for the llc tool. I register this pass with the RegisterLLC template. However, when I try to run llc and load up the pass, I get a failed assertion: $ /storage/anshuman/llvmCVS/llvm/tools/Debug/llc -load=./libTest.so --help ... ... llc: Pass.cpp:327: void llvm::RegisterPassBase::unregisterPass(llvm::PassInfo*): Assertion `I != PassInfoMap->end() && "Pass registered but not in map!"' failed. Any ideas why I'm getting this? I've attached the pass code below. (I'm using the cvs version of the LLVM code.) Thanks -Anshu --- Begin pas...
2003 Nov 13
4
[LLVMdev] llvm 1.0, g++, SuSE 9, internal compiler error
> > - gcc bug > > - problem with SuSE distribution > > One of these two. In theory GCC should never crash (even if the LLVM > sources had problems), and since SuSE made modifications to the compiler > before they shipped it, they implicitly took responsibility for the end > result. I agree. > You can try sending a bug report to SuSE. hm, sending bug report is