Displaying 2 results from an estimated 2 matches for "initlex".
Did you mean:
initex
2014 Jun 02
2
[LLVMdev] How much memory clang llvm needs for debug compiling?
Hi,
> What should I do to make debug enabled compiling successful? Anyone
> can tell me a tiny configuration which can save memory? I only have 3G
> RAM, Ubuntu kylin.
3GB is probably going to be painful no matter what you do, but there
are a few things to try.
First, you could switch to ld.gold instead of ld.bfd. It uses much
less memory when linking. It can also be helpful to reduce
2014 Jun 03
2
[LLVMdev] How much memory clang llvm needs for debug compiling?
...--annotate=3 clang
> (gdb) set args test.c
> (gdb) b main
> (gdb) b /home/nancy/work/llvm/tools/clang/lib/Lex/Lexer.cpp:57
> (gdb) r
> It block at llvm/tools/clang/tools/driver/driver.cpp main() fucntion.
> (gdb) c
> program exit normally
> why? why it not call Lexer.cpp:InitLexer()? And I really can't find
> any entry point to clang/lib/*.cpp files within help of SourceInsight
> code view start from llvm/tools/clang/tools/driver/driver.cpp main()
> function.
>
> What's wrong with me?
>
You need to use the -cc1 option that clang is being reinvok...