search for: aliang

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

Did you mean: liang
2010 Jul 20
3
[LLVMdev] gold and debug information
...e CFLAGS has -g in it. > > Can you reduce the testcase a bit? It would be a lot easier to > reproduce with the ld invocation and the .o files given to it. > > All the .o files are in the tarball. You can download it here (too large to send through the list): http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz The command is: llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit- llvm -g -O4 -o flex ccl.o dfa.o ecs.o scanflags.o gen.o main.o misc.o nfa.o parse.o scan.o skel.o sym.o tblcmp.o yylex.o options.o scanopt.o buf.o tables.o tables_shared.o filter.o regex.o -lm Then I...
2010 Jul 21
0
[LLVMdev] gold and debug information
> All the .o files are in the tarball. You can download it here (too large to > send through the list): > http://pages.cs.wisc.edu/~aliang/goldAndDebugTest.tar.gz There is also something strange with these files, buf.o is actually a .tar.gz file :-) > > Thanks, > Guoliang > Cheers, -- Rafael Ávila de Espíndola
2010 Jul 21
1
[LLVMdev] gold and debug information
...1:59 PM, Rafael Espindola wrote: >> I do not know how to get the ld invocation you need. If this command is not >> what you need, please tell me how to get the ld invocation. > Add -Wl,-debug to the llvm-gcc call. That should print the ld command > line in the end. /local.toadette/aliang/packages/llvm-2.7/llvm-gcc/lib/gcc/i686-pc-linux-gnu/4.2.1/../../../../i686-pc-linux-gnu/bin/ld -plugin /local.toadette/aliang/packages/llvm-2.7/llvm-gcc/libexec/gcc/i686-pc-linux-gnu/4.2.1/libLLVMgold.so -plugin-opt=as=/local.toadette/aliang/packages/llvm-2.7/llvm-gcc/lib/gcc/i686-pc-linux-gnu/...
2010 Jul 20
2
[LLVMdev] gold and debug information
Hi, I would like to get the whole program bitcode with debug information in it. I tried to use CFLAGS = "-O4 -g", but it ends with the following error: collect2: ld terminated with signal 6 [Aborted] Unknown constant! UNREACHABLE executed at /local.toadette/aliang/fixing/llvm-2.7/llvm-2.7/lib/Bitcode/Writer/BitcodeWriter.cpp:895! What is the right way to get a whole program bitcode with debug information using gold plugin? Thanks, Guoliang
2010 Jul 20
4
[LLVMdev] gold and debug information
...t the whole program bitcode with debug information in it. >> >> I tried to use CFLAGS = "-O4 -g", but it ends with the following error: >> collect2: ld terminated with signal 6 [Aborted] >> Unknown constant! >> UNREACHABLE executed at >> /local.toadette/aliang/fixing/llvm-2.7/llvm-2.7/lib/Bitcode/Writer/BitcodeWriter.cpp:895! >> >> What is the right way to get a whole program bitcode with debug >> information using gold plugin? > That looks like a bug; can you attach a testcase? I suppose you also have the gold plugin with the also-e...
2010 Jul 20
0
[LLVMdev] gold and debug information
> export PATH="$LLVMPREFIX/bin:$LLVMGCCPREFIX/bin:$PATH" > export CC="llvm-gcc -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > export CXX="llvm-g++ -use-gold-plugin -Wl,-plugin-opt=also-emit-llvm" > export RANLIB=/bin/true > export CFLAGS="-O4 -g" > > then configure, make, and then hit the error. > > The error only happens if
2010 Jul 20
0
[LLVMdev] gold and debug information
...> I would like to get the whole program bitcode with debug information in it. > > I tried to use CFLAGS = "-O4 -g", but it ends with the following error: > collect2: ld terminated with signal 6 [Aborted] > Unknown constant! > UNREACHABLE executed at > /local.toadette/aliang/fixing/llvm-2.7/llvm-2.7/lib/Bitcode/Writer/BitcodeWriter.cpp:895! > > What is the right way to get a whole program bitcode with debug > information using gold plugin? That looks like a bug; can you attach a testcase? -Eli