diff options
author | Erich Keane <erich.keane@intel.com> | 2018-07-18 20:04:48 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2018-07-18 20:04:48 +0000 |
commit | 7963e8bebb90543d997bf99ae5f8cf9be579d9ea (patch) | |
tree | eed213e87bc7545d24a1c012d25cd471591d6df0 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | d4b82da1136ff60df4ba9da99aa260a2d7f02de1 (diff) | |
download | bcm5719-llvm-7963e8bebb90543d997bf99ae5f8cf9be579d9ea.tar.gz bcm5719-llvm-7963e8bebb90543d997bf99ae5f8cf9be579d9ea.zip |
Add support for __declspec(code_seg("segname"))
This patch uses CodeSegAttr to represent __declspec(code_seg) rather than
building on the existing support for #pragma code_seg.
The code_seg declspec is applied on functions and classes. This attribute
enables the placement of code into separate named segments, including compiler-
generated codes and template instantiations.
For more information, please see the following:
https://msdn.microsoft.com/en-us/library/dn636922.aspx
This patch fixes the regression for the support for attribute ((section).
https://github.com/llvm-mirror/clang/commit/746b78de7812bc785fbb5207b788348040b23fa7
Patch by Soumi Manna (Manna)
Differential Revision: https://reviews.llvm.org/D48841
llvm-svn: 337420
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions