[cfe-dev] label problem. debug info?

Luís Marques luismarques at gmail.com
Wed Sep 17 06:56:29 PDT 2008


Hello,

With the following code:

void problem(int i)

{

}


void test()

{

int arg = 0;

problem(arg);

}


And compiling with debug info:


$ clang -emit-llvm-bc -x c -o - test.c -g | llvm-ld -native
-disable-internalize -o a.out -


I get:


a.out.s:unknown:Undefined local symbol Llabel9

llvm-ld:

This only happens with -g and with -native.
Should I file this as a clang debug info bug, or is this a LLVM problem?
Do you have any suggestions for a workaround?

Luís
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080917/1fe5c7b7/attachment.html>


More information about the cfe-dev mailing list