search for: maincu

Displaying 3 results from an estimated 3 matches for "maincu".

Did you mean: main
2009 Jun 28
3
[LLVMdev] Error when running llc to compile .bc to .s
...ompile the bc file to .s file (llc -f -o httpd.s httpd.bc), I met this error (the httpd.bc file will be attached at the next email): llc: /home/heming/defens/llvm-2.5/lib/CodeGen/AsmPrinter/DwarfDebug.cpp:1235: void llvm::DwarfDebug::ConstructCompileUnit(llvm::GlobalVariable*): Assertion `!MainCU && "Multiple main compile units are found!"' failed. 0 llc 0x00000000011c0f6c 1 llc 0x00000000011c148a 2 libpthread.so.0 0x00007fa91db297d0 3 libc.so.6 0x00007fa91cc3a095 gsignal + 53 4 libc.so.6 0x00007fa91cc3baf0 abort + 272 5...
2009 Jun 27
0
[LLVMdev] Patch for llvm::DepthFirstIterator.h and llvm::PostOrderIterator.h
Hi Olaf, This patch looks good to me. I just have a few minor comments: > + inline df_iterator() { CurrentTopNode = 0; /* End is when stack is empty */ } Should the comment here be updated to say that the End is reached when the stack is empty and when CurrentTopNode is null? > + inline void toNext() > + { LLVM style puts the open brace on the same line as the function name.
2009 Jun 26
3
[LLVMdev] Patch for llvm::DepthFirstIterator.h and llvm::PostOrderIterator.h
Hi @clang and @llvm, attached you'll find a patch dealing with some iterator issues I already mentioned in both lists. Since there was no reaction I cross-post again - now IMHO production-ready code. The patch is considered to get checked-in out of the box. It should not affect the behavior of existing and working code. I really need it for clang AST processing. Changes: 1. Both