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: [email protected]
ReportedBy: [email protected]
CC: [email protected]
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs