[llvm-bugs] [Bug 28075] New: Need a way to specify section properties (flags, type, etc)
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jun 10 06:43:50 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28075
Bug ID: 28075
Summary: Need a way to specify section properties (flags, type,
etc)
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: david.majnemer at gmail.com, jmuizelaar at mozilla.com,
llvm-bugs at lists.llvm.org
Classification: Unclassified
This is based on "David Majnemer"'s proposal
Right now we have only
@foo = constant i64 42, section "bar"
and it is up to llvm to guess the flags and type.
we should have something like
$asec = section "bar", alloc, write [,flag]*
@foo = constant i64 42, section $asec
The possible flags would be at least: alloc, exec, write, thread, nobits
note that the name is a property of the section, so it would be possible to
write
$asec = section "bar", alloc
$bsec = section "bar"
this is important for LTO doing the same as a regular link.
--
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/20160610/ee8b8d5e/attachment-0001.html>
More information about the llvm-bugs
mailing list