[LLVMdev] Values have no names when generating *.ll files in clang and llvm 2.8 ?

Duncan Sands baldrick at free.fr
Wed Oct 13 12:16:29 PDT 2010


Hi Alexandra,

> I upgraded to llvm 2.8 and when I generate *.ll files from C/C++ with
> clang -S -emit-llvm I obtain a *.ll file in which instructions and
> basicblocks have no names.
> I tried as well compiling with the -g option, but no names were given.

with dragonegg using -fverbose-asm causes names to be generated in the IR.
Maybe clang could do this to?

Ciao,

Duncan.



More information about the llvm-dev mailing list