[LLVMbugs] [Bug 23914] New: Long .symver directives generate symbols with empty names
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Jun 22 15:33:04 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23914
Bug ID: 23914
Summary: Long .symver directives generate symbols with empty
names
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: MC
Assignee: unassignedbugs at nondot.org
Reporter: eugeni.stepanov at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
$ cat 1.cc
int x = 0;
asm (".symver " "x" "," "aaaaaaaaaaaaaaaaaa" "@@@" "AAAAAAAAAAAAA");
$ clang++ -c 1.cc && objdump 1.o
1.o: file format elf64-x86-64
SYMBOL TABLE:
0000000000000000 l df *ABS* 0000000000000000 1.cc
0000000000000000 g O .bss 0000000000000004
$ /code/llvm/build/bin/clang++ -c 1.cc -fno-integrated-as && objdump -t 1.o
1.o: file format elf64-x86-64
SYMBOL TABLE:
0000000000000000 l df *ABS* 0000000000000000 1.cc
0000000000000000 l d .text 0000000000000000 .text
0000000000000000 l d .data 0000000000000000 .data
0000000000000000 l d .bss 0000000000000000 .bss
0000000000000000 l d .note.GNU-stack 0000000000000000 .note.GNU-stack
0000000000000000 l d .comment 0000000000000000 .comment
0000000000000000 g O .bss 0000000000000004
aaaaaaaaaaaaaaaaaa@@AAAAAAAAAAAAA
Remove any character from "aaa..aa" or "AA...AA" and we are back to the correct
behavior.
--
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/20150622/d131e9fd/attachment.html>
More information about the llvm-bugs
mailing list