[LLVMdev] #line directives in llvm-gcc
yossi.kreinin at mobileye.com
Sun Sep 10 02:08:18 PDT 2006
Apparently llvm-gcc ignores #line directives in source files when generating debug information. When I compile this:
int f(int a)
#line 1 "someplace"
with `llvm -g -S lines.c`, `someplace' is not mentioned in lines.s. It also looks like functions #included from header files get attributed to the #including file (albeit at the right line number).
Is there an option to take #line into account that I am missing?
Thanks in advance,
More information about the llvm-dev