| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
match Intel docs. Make immediate argument to them an ICE. Fix mask size for the alignd version.
llvm-svn: 227713
|
| |
|
|
| |
llvm-svn: 227712
|
| |
|
|
|
|
| |
We're not that much into metals.
llvm-svn: 227696
|
| |
|
|
|
|
| |
Added test
llvm-svn: 227695
|
| |
|
|
|
|
| |
TargetTransformInfo, and unify the code in a single place.
llvm-svn: 227686
|
| |
|
|
| |
llvm-svn: 227681
|
| |
|
|
|
|
| |
just a const int.
llvm-svn: 227680
|
| |
|
|
| |
llvm-svn: 227679
|
| |
|
|
|
|
|
| |
Added an assertion that triggered in an existing test case (without
observable differences) and fixed the code.
llvm-svn: 227677
|
| |
|
|
| |
llvm-svn: 227676
|
| |
|
|
|
|
| |
intrinsic header files. NFC
llvm-svn: 227675
|
| |
|
|
|
|
| |
builtins.
llvm-svn: 227674
|
| |
|
|
|
|
| |
specialization, pull in any lazy specializations of the class template.
llvm-svn: 227668
|
| |
|
|
|
|
| |
the GDB buildbot)
llvm-svn: 227663
|
| |
|
|
|
|
| |
appropriate test)
llvm-svn: 227662
|
| |
|
|
|
|
|
|
|
| |
Create a new TargetCodeGenInfo for Windows on ARM to permit annotating the
functions with stack-probe-size (for /Gs and -mstack-probe-support) for
generating the stack probe necessary for Windows targets. This will be used by
the backend when lowering the frame to generate the stack probe appropriately.
llvm-svn: 227641
|
| |
|
|
|
|
|
| |
If both the __try and __except blocks do not return, we want to delete
the continuation block as unreachable instead.
llvm-svn: 227627
|
| |
|
|
|
|
|
| |
This is consistent with how we interpret the MSVC /EH flag, which
controls -fcxx-exceptions.
llvm-svn: 227616
|
| |
|
|
|
|
| |
Original patch by Gao Yunzhong!
llvm-svn: 227593
|
| |
|
|
| |
llvm-svn: 227592
|
| |
|
|
|
|
|
|
| |
in all cases.
Patch by Artem Belevich.
llvm-svn: 227591
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Patch by Vladimir Medic
Reviewers: echristo, atanasyan, dsanders
Reviewed By: atanasyan, dsanders
Subscribers: llvm-commits, echristo, atanasyan
Differential Revision: http://reviews.llvm.org/D6091
llvm-svn: 227583
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Even with r227555, this still crashed:
struct S {
int A;
~A::A() {}
};
That's because ParseOptionalCXXScopeSpecifier()'s call to
ActOnCXXNestedNameSpecifier() doesn't mark the scope spec as invalid if sema
thought it's a good idea to fixit-correct "::" to ":". For the diagnostic
improvement done in r217302, we never want :: to be interpreted as :, so fix
this by setting ColonSacred to false temporarily.
Found by SLi's bot.
llvm-svn: 227581
|
| |
|
|
|
|
|
| |
Parser::ParseLexedMethodDeclaration: Use local var for Param
Sema::MergeCXXFunctionDecls: Use hasInheritedDefaultArg
llvm-svn: 227577
|
| |
|
|
|
|
|
| |
We don't really care about enabling RTTI with -fexceptions, only with
-fcxx-exceptions.
llvm-svn: 227567
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In OpenCL 1.2, using double no longer requires using the pragma cl_khr_fp64,
instead a kernel is allowed to use double, but must first have queried
clGetDeviceInfo's CL_DEVICE_DOUBLE_FP_CONFIG.
Page 197, section 6.1.1 of the OpenCL 1.2 specification has a footnote 23
describing this behaviour.
I've also added test cases such that the pragma must be used if targeting
OpenCL 1.0 or 1.1, but is ignored in 1.2 and 2.0.
Patch by Neil Henning!
Reviewers: Pekka Jääskeläinen
Differential Revision: http://reviews.llvm.org/D7245
llvm-svn: 227565
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Fatal errors disable all further diagnostics. Continuing to permit
template instantiation does nothing but make it take longer for clang to
finish with the TU.
Instead, halt all further instantiation.
Fixed in PR22396.
llvm-svn: 227556
|
| |
|
|
| |
llvm-svn: 227555
|
| |
|
|
| |
llvm-svn: 227554
|
| |
|
|
| |
llvm-svn: 227553
|
| |
|
|
|
|
| |
to match LLVM's preferred style.
llvm-svn: 227545
|
| |
|
|
| |
llvm-svn: 227540
|
| |
|
|
|
|
| |
This enables proper IRgen of SEH constructs.
llvm-svn: 227528
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
The PS4 defaults to -fno-rtti, and has to have rtti enabled when enabling
exceptions.
This commit makes clang add the -fno-rtti by default on the PS4, unless
-frtti was passed in.
It also diagnoses misuses for the PS4:
- Exceptions need rtti. Warn and enable rtti if no rtti flag was passed,
error if -fno-rtti was passed.
I also added a more general warning for when -fno-rtti is the default
(currently it's only on the PS4) and the vptr sanitizer is on.
Fixed a few tests, due to different flag order when passing cc1 arguments.
Reviewers: chandlerc
Subscribers: cfe-commits
Differential Revision: http://reviews.llvm.org/D7250
llvm-svn: 227518
|
| |
|
|
|
|
|
|
|
|
|
| |
Work around a bug in GNU ld (and gold) linker versions up to 2.25
that may mis-optimize code generated by this version of clang/LLVM
to access general-dynamic or local-dynamic TLS variables.
Bug is fixed here:
https://sourceware.org/ml/binutils/2015-01/msg00318.html
llvm-svn: 227480
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It should bring the bots back.
Original messagses:
r227448:
Remove unnecessary default.
r227438:
Fix Index/print-type.cpp test following r227432.
r227432:
libclang: Add three functions useful for dealing with anonymous fields:
clang_Cursor_getOffsetOfField
clang_Cursor_isAnonymous
clang_Type_visitFields
Python: Add corresponding methods for dealing with anonymous fields.
Patch by Loïc Jaquemet
llvm-svn: 227472
|
| |
|
|
|
|
| |
clang-format fuzzer functionality based on LLVM_USE_SANITIZE_COVERAGE being set or unset.
llvm-svn: 227465
|
| |
|
|
|
|
| |
for MSVC users. This reverts: 227354
llvm-svn: 227453
|
| |
|
|
| |
llvm-svn: 227448
|
| |
|
|
|
|
| |
-fexceptions in the proper place
llvm-svn: 227443
|
| |
|
|
| |
llvm-svn: 227438
|
| |
|
|
|
|
| |
incompatible to win32.
llvm-svn: 227434
|
| |
|
|
|
|
|
|
|
|
| |
I have so far not succeeded in finding a nicely reduced test case or an
observable difference which could help me create a test failure without
msan.
Committing without test to unblock kcc's further fuzzing progress.
llvm-svn: 227433
|
| |
|
|
|
|
|
|
|
|
|
| |
clang_Cursor_getOffsetOfField
clang_Cursor_isAnonymous
clang_Type_visitFields
Python: Add corresponding methods for dealing with anonymous fields.
Patch by Loïc Jaquemet
llvm-svn: 227432
|
| |
|
|
| |
llvm-svn: 227427
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On targets which use the MSVCRT, setjmp is a macro which expands to
_setjmp or _setjmpex.
_setjmp and _setjmpex have a secret, hidden argument which is not listed
in the function prototype on X64 and WoA. This hidden argument always
seems to be the frame pointer.
_setjmpex isn't used on X86, _setjmp is magically replaced with a call
to _setjmp3. The second argument is zero for 'normal' setjmp/longjmp
pairs, otherwise it is a count of additional variadic arguments. This
is used when setjmp appears inside of a try or __try.
It is not safe to use a pointer to setjmp because _setjmp, _setjmpex and
_setmp3 are not compatible with setjmp.
llvm-svn: 227426
|
| |
|
|
|
|
|
| |
No functional change, it just makes it a little easier to find what you
are looking for.
llvm-svn: 227425
|
| |
|
|
|
|
|
| |
Warnings shouldn't use getCustomDiagID(), since then they can't be disabled
via a flag, can't be remapped, etc.
llvm-svn: 227420
|
| |
|
|
| |
llvm-svn: 227418
|
| |
|
|
|
|
| |
from C89 mode.
llvm-svn: 227417
|