<p dir="ltr">This is from work that Manman did. I thought she'd fixed this particular issue though. Can you file a bug with a test case please?</p>
<div class="gmail_quote">On Nov 5, 2013 10:10 AM, "lipengcheng" <<a href="mailto:pli@cs.rochester.edu">pli@cs.rochester.edu</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello LLVM,<br>
<br>
I encountered the following bugs when I compiled my program in debug version.<br>
Could someone help me with that ? Really appreciate that. Thanks,<br>
<br>
Take the mcf program in SPEC2K6 as example. The compiling options are :<br>
<br>
clang -O0 -c -emit-llvm -o obj/mcf.o -g -DSPEC_CPU mcf.c<br>
llvm-link -o mcf.bc obj/mcf.o<br>
opt -o mcf.opt.bc mcf.bc -O2<br>
llc -O0 -relocation-model=static -o mcf.s mcf.opt.bc<br>
clang mcf.s -o mcf<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x48d): undefined reference to `.Lline_table_start1'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x894): undefined reference to `.Lline_table_start2'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0xfce): undefined reference to `.Lline_table_start3'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x1226): undefined reference to `.Lline_table_start4'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x1921): undefined reference to `.Lline_table_start5'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x1e8c): undefined reference to `.Lline_table_start6'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x21c7): undefined reference to `.Lline_table_start7'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x23e2): undefined reference to `.Lline_table_start8'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x2b39): undefined reference to `.Lline_table_start9'<br>
/tmp/mcf-CvkpnA.o:(.debug_info+0x2f9f): undefined reference to `.Lline_table_start10'<br>
clang: error: linker command failed with exit code 1 (use -v to see invocation)<br>
<br>
Thanks,<br>
- Pengcheng<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a> <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
</blockquote></div>