search for: writebytecodetofil

Displaying 7 results from an estimated 7 matches for "writebytecodetofil".

Did you mean: writebytecodetofile
2005 Jun 10
2
[LLVMdev] Problems with void*
Hello, I am trying to use the LLVM classes (with Modules in memory) to represent some programs that use the void* type but I am having some problems handling that type. If I use WriteBytecodeToFile, I receive this error: Assertion `slot != -1 && "Module broken!"` If I save the module directly with PrintModulePass, it generates the .ll file fine, but if I try to compile it with llvm-as, as soon as it finds 'void *' it complains that it was expecting an "(&quot...
2005 Feb 25
0
[LLVMdev]Linker error building (modified) lli
...(.te xt+0x643a): In function `llvm::Interpreter::callExternalFunction(llvm::Function*, std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > const&)': /localhome/pmeredit/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.c pp:98: undefined reference to `llvm::WriteBytecodeToFile(llvm::Module const*, std::basic_ostream<char, std::char_traits<char> >&)' collect2: ld returned 1 exit status make: *** [/mounts/zion/disks/0/localhome/pmeredit/llvm/tools/Debug/lli] Error 1 So, it's not linking in Writer.o, which is understandable since lli, as is, has no...
2005 Jun 10
0
[LLVMdev] Problems with void*
...me of the names/ideas look familiar. Reid. On Fri, 2005-06-10 at 15:32 -0700, Ricardo wrote: > Hello, > > I am trying to use the LLVM classes (with Modules in memory) to represent some programs that use > the void* type but I am having some problems handling that type. > If I use WriteBytecodeToFile, I receive this error: > > Assertion `slot != -1 && "Module broken!"` > > If I save the module directly with PrintModulePass, it generates the .ll file fine, but if I try > to compile it with llvm-as, as soon as it finds 'void *' it complains that it was...
2005 Feb 24
4
[LLVMdev] LLVM CygWin build error ?
There do not seem to be any binaries for CygWin only Linux and the Mac :( I tried building the frontend on CygWin but ended up with a makeinfo error then a build error that I could not do anything about. I will have to get my Linux Laptop from home and use that. Many thanks, Aaron
2006 Jun 24
2
[LLVMdev] LLVM build error
...(Writer.o): In function `__static_initialization_and_destruction_0': /home/ll/repositories/cvs/llvm/include/llvm/InlineAsm.h:133: undefined reference to `llvm::IncludeFile::IncludeFile(void*)' /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMBCWriter.a(Writer.o): In function `llvm::WriteBytecodeToFile(llvm::Module const*, std::basic_ostream<char, std::char_traits<char> >&, bool)': /home/ll/repositories/cvs/llvm/lib/Bytecode/Writer/Writer.cpp:1224: undefined reference to `llvm::sys::Program::ChangeStdoutToBinary()' /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVM...
2005 Feb 25
3
[LLVMdev]Linker error building (modified) lli
...ion > `llvm::Interpreter::callExternalFunction(llvm::Function*, > std::vector<llvm::GenericValue, std::allocator<llvm::GenericValue> > > const&)': > /localhome/pmeredit/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.c > pp:98: undefined reference to `llvm::WriteBytecodeToFile(llvm::Module > const*, std::basic_ostream<char, std::char_traits<char> >&)' > collect2: ld returned 1 exit status > make: *** [/mounts/zion/disks/0/localhome/pmeredit/llvm/tools/Debug/lli] > Error 1 > > So, it's not linking in Writer.o, which is understan...
2006 Jun 24
0
[LLVMdev] LLVM build error
...tion `__static_initialization_and_destruction_0': > /home/ll/repositories/cvs/llvm/include/llvm/InlineAsm.h:133: undefined > reference to `llvm::IncludeFile::IncludeFile(void*)' > /home/ll/programs/source/scm/cvs/llvm/Debug/lib/libLLVMBCWriter.a(Writer.o): > In function `llvm::WriteBytecodeToFile(llvm::Module const*, > std::basic_ostream<char, std::char_traits<char> >&, bool)': > /home/ll/repositories/cvs/llvm/lib/Bytecode/Writer/Writer.cpp:1224: > undefined reference to `llvm::sys::Program::ChangeStdoutToBinary()' > /home/ll/programs/source/scm/cvs/ll...