Displaying 6 results from an estimated 6 matches for "bcfiles".
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
...ss do work, but LLVM crashes in the
doFinalization() step.
Does anyone know this problem?
Thanks!
Tianyin
-----------------------------------------------------------------------------------------------------------------
#opt -load ../../../Debug+Asserts/lib/LLVMHello.so -hello -time-passes <
bcfiles/hello.bc
...
(PRINT ALL THE FUNCTIONS, EVERYTHING IS FINE.)
...
wrong initalizer for intrinsic global variable
[0 x i8*] zeroinitializer
Broken module found, compilation aborted!
0 opt 0x00000000019ac447 llvm::sys::PrintStackTrace(_IO_FILE*)
+ 38
1 opt 0x00000000019ac6ce
2...
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
...problem?
> >
> > Thanks!
> > Tianyin
> >
> >
> -----------------------------------------------------------------------------------------------------------------
> >
> > #opt -load ../../../Debug+Asserts/lib/LLVMHello.so -hello -time-passes <
> > bcfiles/hello.bc
> > ...
> > (PRINT ALL THE FUNCTIONS, EVERYTHING IS FINE.)
> > ...
> > wrong initalizer for intrinsic global variable
> > [0 x i8*] zeroinitializer
> > Broken module found, compilation aborted!
> > 0 opt 0x00000000019ac447
> llvm::s...
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
...>
> >> >
> >> >
> -----------------------------------------------------------------------------------------------------------------
> >> >
> >> > #opt -load ../../../Debug+Asserts/lib/LLVMHello.so -hello
> -time-passes <
> >> > bcfiles/hello.bc
> >> > ...
> >> > (PRINT ALL THE FUNCTIONS, EVERYTHING IS FINE.)
> >> > ...
> >> > wrong initalizer for intrinsic global variable
> >> > [0 x i8*] zeroinitializer
> >> > Broken module found, compilation aborted!
> &...
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
...---------------------------------------------------------------------------------------------------------------
> >> >> >
> >> >> > #opt -load ../../../Debug+Asserts/lib/LLVMHello.so -hello
> >> >> > -time-passes <
> >> >> > bcfiles/hello.bc
> >> >> > ...
> >> >> > (PRINT ALL THE FUNCTIONS, EVERYTHING IS FINE.)
> >> >> > ...
> >> >> > wrong initalizer for intrinsic global variable
> >> >> > [0 x i8*] zeroinitializer
> >> >>...
2014 Aug 12
2
[LLVMdev] All the passes (even the LLVMHello.so) fail at doFinalization()
...---------------------------------------------------------------------------
> >> >> >> >
> >> >> >> > #opt -load ../../../Debug+Asserts/lib/LLVMHello.so -hello
> >> >> >> > -time-passes <
> >> >> >> > bcfiles/hello.bc
> >> >> >> > ...
> >> >> >> > (PRINT ALL THE FUNCTIONS, EVERYTHING IS FINE.)
> >> >> >> > ...
> >> >> >> > wrong initalizer for intrinsic global variable
> >> >> >> > [0...
2013 Jul 12
14
[LLVMdev] [Proposal] Parallelize post-IPO stage.
...ateMakefile(std::string &ErrMsg) {
+
+ IPOFile *MkFile = FileMgr.CreateMakefile("Makefile");
+
+ std::string NewErrMsg;
+ raw_fd_ostream Mk(MkFile->getPath().c_str(), NewErrMsg, 0);
+
+ if (!NewErrMsg.empty()) {
+ ErrMsg += NewErrMsg;
+ return false;
+ }
+
+ std::string BCFiles;
+ for (IPOPartMgr::iterator I = PartMgr.begin(), E = PartMgr.end();
+ I != E; I++) {
+ BCFiles += (*I)->getIRFile().getName();
+ BCFiles += " ";
+ }
+
+ Mk << ".PHONY = all\n\n";
+
+ Mk << "\nBC = " << BCFiles << "\n&qu...