Skip to content

__attribute__((__section__(x))) symbols generation problems #3936

@llvmbot

Description

@llvmbot
Bugzilla Link 3564
Resolution FIXED
Resolved on Feb 13, 2009 16:58
Version unspecified
OS FreeBSD
Attachments test case
Reporter LLVM Bugzilla Contributor
CC @asl

Extended Description

when I compile the attached with clang and gcc I am getting different things:

lev /tmp$ gcc -c dataset.c; nm dataset.o
0000000000000000 r __set_foo_sym_bar.1873
0000000000000000 b bar
0000000000000000 T foo

lev /tmp$ ccc -c dataset.c ; nm dataset.o
ccc: Unknown host 'freebsd', using generic host information.
0000000000000000 b bar
0000000000000000 T foo
0000000000000000 d foo.__set_foo_sym_bar

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaclang:codegenIR generation bugs: mangling, exceptions, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions