Skip to content

support __attribute__((used) #3938

@llvmbot

Description

@llvmbot
Bugzilla Link 3566
Resolution FIXED
Resolved on Feb 13, 2009 16:09
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

clang should support attribute((used)

ddunbar@ozzy:tmp$ cat t.c
static int a attribute((used)) = 52;
ddunbar@ozzy:tmp$ xcc -c t.c
ddunbar@ozzy:tmp$ nm t.o
nm: no name list

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