diff options
| author | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-04-07 15:13:47 +0000 |
|---|---|---|
| committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2017-04-07 15:13:47 +0000 |
| commit | b51bcaf2f027f0774749e31d5fff2e618b1ee0f2 (patch) | |
| tree | 85951c0eb5d20c26cd0334bf8ad6777cb95d42ce /lld/ELF/LinkerScript.cpp | |
| parent | 60d0e982f038ecb0b93e5896fd84988950977102 (diff) | |
| download | bcm5719-llvm-b51bcaf2f027f0774749e31d5fff2e618b1ee0f2.tar.gz bcm5719-llvm-b51bcaf2f027f0774749e31d5fff2e618b1ee0f2.zip | |
Sema: prevent __declspec(naked) use on x64
MSDN (https://msdn.microsoft.com/en-us/library/h5w10wxs.aspx) indicates
that `__declspec(naked)` is only permitted on x86 and ARM targets.
Testing with cl does confirm this behaviour. Provide a warning for use
of `__declspec(naked)` on x64.
llvm-svn: 299774
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
0 files changed, 0 insertions, 0 deletions

