[LLVMbugs] [Bug 7412] New: named sections vs. AliasAnalysis
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Jun 18 12:50:33 PDT 2010
http://llvm.org/bugs/show_bug.cgi?id=7412
Summary: named sections vs. AliasAnalysis
Product: libraries
Version: trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P
Component: Global Analyses
AssignedTo: unassignedbugs at nondot.org
ReportedBy: gohman at apple.com
CC: llvmbugs at cs.uiuc.edu
LLVM IR allows GlobalVariables to be allocated in sections specified by name.
@A = global i32 0, section "purple"
@B = global i32 0, section "purple"
Does LLVM guarantee anything about the order of @A and @B in section purple? If
not, is this a problem for code which expects to be able to place sentries at
the beginning and end of a named section? If so, should AliasAnalysis consider
all variables in the same section to be part of the same underlying object?
ELF linkers provide magic symbols named __start_purple and __end_purple which
mark the beginning and end of the named section. This is also relevant to
AliasAnalysis. Aside: Does LLVM linking support this?
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list