Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with function section attribute #16160

Closed
llvmbot opened this issue Apr 19, 2013 · 2 comments
Closed

problem with function section attribute #16160

llvmbot opened this issue Apr 19, 2013 · 2 comments
Labels
bugzilla Issues migrated from bugzilla tools:llc wontfix Issue is real, but we can't or won't fix it. Not invalid

Comments

@llvmbot
Copy link
Collaborator

llvmbot commented Apr 19, 2013

Bugzilla Link 15788
Resolution WONTFIX
Resolved on Jun 05, 2013 09:45
Version trunk
OS Linux
Reporter LLVM Bugzilla Contributor

Extended Description

Consider the following code:

void x(int i) __attribute((section(".mySection,"aw",@progbits#")));

void x(int i) {
}

If you compile this with gcc you get:

.file    "sectbug.c"
.section    .mySection,"aw",@progbits#,"ax",@progbits

.globl x

With Clang you get

.file    "sectbug.c"
.section    ".mySection,\"aw\",@progbits#","ax",@progbits
.globl    x

It needs to unquote the string.

@llvmbot
Copy link
Collaborator Author

llvmbot commented Jun 5, 2013

*** Bug llvm/llvm-bugzilla-archive#16232 has been marked as a duplicate of this bug. ***

@llvmbot
Copy link
Collaborator Author

llvmbot commented Nov 26, 2021

mentioned in issue llvm/llvm-bugzilla-archive#16232

@llvmbot llvmbot transferred this issue from llvm/llvm-bugzilla-archive Dec 4, 2021
@Quuxplusone Quuxplusone added the wontfix Issue is real, but we can't or won't fix it. Not invalid label Jan 20, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugzilla Issues migrated from bugzilla tools:llc wontfix Issue is real, but we can't or won't fix it. Not invalid
Projects
None yet
Development

No branches or pull requests

2 participants