diff options
| author | JF Bastien <jfbastien@apple.com> | 2019-07-14 18:33:51 +0000 |
|---|---|---|
| committer | JF Bastien <jfbastien@apple.com> | 2019-07-14 18:33:51 +0000 |
| commit | fff5dc0b173fc35ce9a75a737a980875be125566 (patch) | |
| tree | 1281f77fbe8f2ebb67c69259a2e9374fb001ff21 /llvm/lib/Transforms/Utils/CtorUtils.cpp | |
| parent | 24cacf9c56f0b55534e98941cc8675a9a7489c37 (diff) | |
| download | bcm5719-llvm-fff5dc0b173fc35ce9a75a737a980875be125566.tar.gz bcm5719-llvm-fff5dc0b173fc35ce9a75a737a980875be125566.zip | |
Support __seg_fs and __seg_gs on x86
Summary:
GCC supports named address spaces macros:
https://gcc.gnu.org/onlinedocs/gcc/Named-Address-Spaces.html
clang does as well with address spaces:
https://clang.llvm.org/docs/LanguageExtensions.html#memory-references-to-specified-segments
Add the __seg_fs and __seg_gs macros for compatibility with GCC.
<rdar://problem/52944935>
Subscribers: jkorous, dexonsmith, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D64676
llvm-svn: 366028
Diffstat (limited to 'llvm/lib/Transforms/Utils/CtorUtils.cpp')
0 files changed, 0 insertions, 0 deletions

