| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D36794
llvm-svn: 311640
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
-fms-extensions or -fborland to enable the language extension.
Note: __declspec is also temporarily enabled when compiling for a CUDA target because there are implementation details relying on __declspec(property) support currently. When those details change, __declspec should be disabled for CUDA targets.
llvm-svn: 238238
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This fixes PR21155.
Test Plan: The patch includes a test.
Reviewers: rnk
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D5619
llvm-svn: 219322
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This fixes PR20023. In order to implement this scoping rule, we piggy
back on the existing LabelDecl machinery, by creating LabelDecl's that
will carry the "internal" name of the inline assembly label, which we
will rewrite the asm label to.
Reviewers: rnk
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4589
llvm-svn: 218230
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D5183
llvm-svn: 217200
|
|
|
|
|
|
| |
This used to assert.
llvm-svn: 214551
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
This patch extends the __asm parser to make it keep parsing input tokens
as inline assembly if a single-line __asm line is followed by another line
starting with __asm too. It also makes sure that we correctly keep
matching braces in such situations by separating the notions of how many
braces we are matching and whether we are in single-line asm block mode.
Reviewers: rnk
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D4598
llvm-svn: 213916
|
|
|
|
| |
llvm-svn: 212353
|
|
|
|
| |
llvm-svn: 203147
|
|
|
|
| |
llvm-svn: 202866
|
|
|
|
| |
llvm-svn: 196350
|
|
|
|
|
|
|
|
| |
lookup, if parsing failed, we did not restore the lexer state properly, and
eventually crashed. This change ensures that we always consume all the tokens
from the new token stream we started to parse the name from inline asm.
llvm-svn: 196182
|
|
|
|
|
|
| |
LLVM r196044 should make it pass.
llvm-svn: 196045
|
|
|
|
|
|
| |
suggestion.
llvm-svn: 173367
|
|
|
|
|
|
|
| |
parser is not included in the compiler. Thanks to Renato for discovering the
underlying issue.
llvm-svn: 173365
|
|
|
|
|
|
| |
inline assembly can be enable with -fasm-blocks or -fms-extensions alone.
llvm-svn: 173186
|
|
|
|
| |
llvm-svn: 172774
|
|
|
|
|
|
| |
Part of rdar://12576868
llvm-svn: 172744
|
|
|
|
| |
llvm-svn: 170038
|
|
|
|
|
|
|
| |
-fasm-blocks flag, not the -fms-extensions flag.
rdar://12808010
llvm-svn: 169422
|
|
|
|
| |
llvm-svn: 166793
|
|
|
|
|
|
|
|
| |
Tested on ARM.
Patch by Joey Gouly.
llvm-svn: 166765
|
|
|
|
| |
llvm-svn: 166463
|
|
llvm-svn: 164551
|