[LLVMbugs] [Bug 5623] LTO fails with inline asm labels referenced in C
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Oct 18 09:39:43 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=5623
Rafael Ávila de Espíndola <rafael.espindola at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |---
--- Comment #4 from Rafael Ávila de Espíndola <rafael.espindola at gmail.com> ---
It doesn't work for me:
$ clang -c test.c
$ nm test.o
000000000000002b t ff_mlp_firorder_8
0000000000000000 d firtable
0000000000000000 T main
U printf
$ clang -c test.c
$ nm test.o
U ff_mlp_firorder_8
00000000 T main
U printf
note the undefined reference to ff_mlp_firorder_8.
also
$ clang test.o -o t -flto
<inline asm>:1:2: error: unknown use of instruction mnemonic without a size
suffix
jmp *$ff_mlp_firorder_8
^
LLVM ERROR: Error parsing inline asm
clang-3.4: error: linker command failed with exit code 1 (use -v to see
invocation)
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131018/448cf538/attachment.html>
More information about the llvm-bugs
mailing list