http://llvm.org/bugs/show_bug.cgi?id=19256
Bug ID: 19256
Summary: -fms-extensions should support
__declspec(allocate("...")) and #pragma section("...",
...)
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: 18887
Classification: Unclassified
Some code in Chromium uses this to allocate a page of executable memory in the
image:
https://code.google.com/p/chromium/codesearch#chromium/src/chrome_elf/ntdll_cache.cc&sq=package:chromium&type=cs&l=22
// Allocate storage for thunks in a page of this module to save on doing
// an extra allocation at run time.
#pragma section(".crthunk",read,execute)
__declspec(allocate(".crthunk")) sandbox::ThunkData g_nt_thunk_storage;
IMO these extensions are different enough from http://llvm.org/pr18885 to
warrant a different bug.
--
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