- Nov 06, 2012
-
-
Argyrios Kyrtzidis authored
It is part of libclang and has other uses besides running the clang tests. llvm-svn: 167478
-
Manman Ren authored
llvm-svn: 167476
-
Chad Rosier authored
llvm-svn: 167472
-
Manuel Klimek authored
Patch by Philip Craig. llvm-svn: 167470
-
Fariborz Jahanian authored
translated source where it is needed. wip. llvm-svn: 167469
-
Daniel Dunbar authored
llvm-svn: 167468
-
Alexey Samsonov authored
llvm-svn: 167465
-
Alexey Samsonov authored
Follow-up for r167411 to un-break ASan on Mac. Move SanitizerArgs to a header file and use it on Darwin toolchain. llvm-svn: 167460
-
Ted Kremenek authored
Thanks to Richard Smith for pointing this out. This code stopped serving its purpose during r103212 in a refactoring. My initial fix was to add back the logic to abort the USR generation for InternalLinkage, but enough tests broke suspiciously that I fear that USR generation for cursors with InternalLinkage is now expected by some clients (where it wasn't the case when the refactoring took place). I don't own this code anymore and have not looked at it for some time, but clearly this code is dead and can be removed pending further review on the proper logic here. llvm-svn: 167442
-
Nico Weber authored
llvm-svn: 167441
-
Manman Ren authored
disabling byval, we set realign to true. It will perform an aligned alloca, and call memcpy to copy the byval argument to the local variable. Change the size threshold back to 64 bytes. rdar://12596507 llvm-svn: 167440
-
Anna Zaks authored
llvm-svn: 167439
-
Anna Zaks authored
Thanks Jordan. llvm-svn: 167438
-
Eli Friedman authored
llvm-svn: 167437
-
Eli Friedman authored
refactor the code. llvm-svn: 167436
-
Richard Smith authored
Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as -fsanitize=divide-by-zero. llvm-svn: 167433
-
Argyrios Kyrtzidis authored
it's also setup as 'INTERNAL_TOOL'. llvm-svn: 167432
-
Eli Friedman authored
llvm-svn: 167431
-
Richard Smith authored
-fno-address-sanitizer, -fthread-sanitizer, -fno-thread-sanitizer, and -fcatch-undefined-behavior as deprecated: produce a warning if they are used pointing to the corresponding -fsanitize= option. In passing add the missing '-' to some diagnostics. llvm-svn: 167429
-
Argyrios Kyrtzidis authored
llvm-svn: 167426
-
Argyrios Kyrtzidis authored
reference instead of relying on computing it. In general, if storage is no issue, it is preferable to deserialize info from the PCH instead of trying to recompute it after the PCH was loaded. The incentive to change this now was due to r155303 changing how friend template classes in dependent contexts are handled; such classes can now be chained to a previous template class but the computed InjectedClassNameType may be different due to the extra template parameters from the dependent context. The new handling requires more investigation but, in the meantime, writing out InjectedClassNameType fixes PCH issue in rdar://12627738. llvm-svn: 167425
-
Douglas Gregor authored
token. This is important because the first token could actually be after an #include that triggers a module import, which might use either Sema or the AST consumer before it would have been initialized. llvm-svn: 167423
-
Douglas Gregor authored
that we can model them as separate submodules. llvm-svn: 167420
-
- Nov 05, 2012
-
-
Daniel Dunbar authored
- The whole {File,Source}Manager is built around wanting to pre-determine the size of files, so we can't fit this in naturally. Instead, we handle it like we do STDIN, where we just replace the main file contents upfront. llvm-svn: 167419
-
Nico Weber authored
llvm-svn: 167418
-
Nico Weber authored
llvm-svn: 167417
-
Manman Ren authored
the type alignment of the byval argument. This patch will disable byval in this case, it also increases the size threshold for turning on byval. A backend fix will be attempted. rdar://12596507 llvm-svn: 167416
-
Richard Smith authored
checks to enable. Remove frontend support for -fcatch-undefined-behavior, -faddress-sanitizer and -fthread-sanitizer now that they don't do anything. llvm-svn: 167413
-
Richard Smith authored
-fno-sanitize=<sanitizers> argument to driver. These allow ASan, TSan, and the various UBSan checks to be enabled and disabled separately. Right now, the different modes can't be combined, but the intention is that combining UBSan and the other sanitizers will be permitted in the near future. Currently, the UBSan checks will all be enabled if any of them is; that will be fixed by the next patch. llvm-svn: 167411
-
Richard Smith authored
*Sanitizer to Sanitize* in preparation for later patches. llvm-svn: 167405
-
Douglas Gregor authored
llvm-svn: 167399
-
rdar://problem/12552716Douglas Gregor authored
While we're here, extend the module map to cover most of the newly-added instrinsic headers. Only wmmintrin.h is missing, because it needs to be split into AES/PCLMUL subheaders (as a separate commit). llvm-svn: 167398
-
Douglas Gregor authored
header-search options into the module hash. We're just using ADT/Hashing.hpp for this, which isn't as cryptographically strong as I'd like, but it'll do. If someone contributes (say) and MD4 implementation, we'd happily switch to that. llvm-svn: 167397
-
Ulrich Weigand authored
zero-extended to 64 bits. This information is currently provided to the back end by setting "signext" or "zeroext" attributes. However, this is done only for integer types *smaller* than i32, not for i32 itself. This causes clang to generate code violating the ABI, which results in a failure of the tramp3d-v4 test case (due to calling a system library routine without ABI-required extension). This patch implements custom versions of classifyArgumentType and classifyReturnType for PPC64_SVR4_ABIInfo, which are the same as the default versions except that they also classify "int" and "unsigned int" as types needing extending. This fixed tramp3d-v4 on PowerPC64. llvm-svn: 167393
-
Fariborz Jahanian authored
llvm-svn: 167387
-
Jordan Rose authored
As Anna pointed out, ProgramStateTrait.h is a relatively obscure header, and checker writers may not know to look there to add their own custom state. The base macro that specializes the template remains in ProgramStateTrait.h (REGISTER_TRAIT_WITH_PROGRAMSTATE), which allows the analyzer core to keep using it. llvm-svn: 167385
-
Matt Beaumont-Gay authored
llvm-svn: 167379
-
- Nov 04, 2012
-
-
Nick Lewycky authored
to have UsingDirectiveDecl inside anything other than those two. No user-visible functionality change. llvm-svn: 167376
-
Fariborz Jahanian authored
well as couple of tests which were not being excercised because of TYPOs. llvm-svn: 167374
-
Lang Hames authored
llvm-svn: 167369
-