With the following code:
void problem(int i)
int arg = 0;
And compiling with debug info:
$ clang -emit-llvm-bc -x c -o - test.c -g | llvm-ld -native -disable-internalize -o a.out -
a.out.s:unknown:Undefined local symbol Llabel9
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?