http://llvm.org/bugs/show_bug.cgi?id=20506
Bug ID: 20506
Summary: There are two versions of llvm.global_ctors and
llvm.global_dtors
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Core LLVM classes
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Classification: Unclassified
After r209015, we have two versions of `llvm.global_ctors` (and
`llvm.global_dtors`). It would be cleaner to make the third field required
(and have only one version), but the upgrade is non-trivial. In particular,
users of the C API could currently use either the 2-field or 3-field version.
One possible upgrade path:
1. Add C API for explicitly appending to or setting these arrays.
2. Deprecate support for creating these arrays explicitly with normal IR
constructs.
3. After enough time has passed (and current users of the C API have had time
to transition), remove all support for the 2-field version.
--
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