http://llvm.org/bugs/show_bug.cgi?id=18885
Bug ID: 18885
Summary: -fms-extensions should implement MSVC's section
pragmas (const_seg, data_seg, etc)
Product: clang
Version: unspecified
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Blocks: 13707
Classification: Unclassified
The relevant MSDN docs:
http://msdn.microsoft.com/en-us/library/1dc22465.aspx
The grammar:
#pragma const_seg( [ [ { push | pop}, ] [ identifier, ] ] [ "segment-name" [,
"segment-class" ] )
This is important because it's used to register initializers and finalizers
similar to __attribute__((section(".init_array"))) in ELF.
David says that we'll have to extend LLVM IR to encode the section properties
such as readonly, executable, initialized, etc.
--
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