- Feb 13, 2012
-
-
Jakob Stoklund Olesen authored
llvm-svn: 150404
-
Chad Rosier authored
-arch options if the're all the same. Patch by Jeremy Huddleston. rdar://10849701 llvm-svn: 150403
-
Anna Zaks authored
1) Support the case when realloc fails to reduce False Positives. (We essentially need to restore the state of the pointer being reallocated.) 2) Realloc behaves differently under special conditions (from pointer is null, size is 0). When detecting these cases, we should consider under-constrained states (size might or might not be 0). The old version handled this in a very hacky way. The code did not differentiate between definite and possible (no consideration for under-constrained states). Further, after processing each special case, the realloc processing function did not return but chained to the next special case processing. So you could end up in an execution in which you first see the states in which size is 0 and realloc ~ free(), followed by the states corresponding to size is not 0 followed by the evaluation of the regular realloc behavior. llvm-svn: 150402
-
Douglas Gregor authored
CXXRecordDecl in a way that actually makes some sense: - LambdaExpr contains all of the information for initializing the lambda object, including the capture initializers and associated array index variables. - CXXRecordDecl's LambdaDefinitionData contains the captures, which are needed to understand the captured variable references in the body of the lambda. llvm-svn: 150401
-
Alexander Potapenko authored
llvm-svn: 150400
-
Alexander Potapenko authored
llvm-svn: 150399
-
Alexander Potapenko authored
to avoid crashes on Linux and Win. llvm-svn: 150398
-
Benjamin Kramer authored
llvm-svn: 150397
-
Douglas Gregor authored
synthesize a by-copy captured array in a lambda. This information will be needed by IR generation. llvm-svn: 150396
-
Benjamin Kramer authored
llvm-svn: 150395
-
Douglas Gregor authored
llvm-svn: 150394
-
Douglas Gregor authored
LambdaExpr over to the CXXRecordDecl. This allows us to eliminate the back-link from the closure type to the LambdaExpr, which will simplify and lazify AST deserialization. llvm-svn: 150393
-
Alexander Potapenko authored
This should help to detect problems with ASLR or linker tricks early. llvm-svn: 150391
-
Eric Christopher authored
llvm-svn: 150390
-
Eric Christopher authored
PR11970. llvm-svn: 150389
-
Eric Christopher authored
while reworking how we handle wanting to emit only parts of structures. Fixes PR11970. llvm-svn: 150388
-
Dylan Noblesmith authored
Fix build breakage from r150378: MSVC only allows taking the address of a member function using the &ClassName::Function syntax.# It was giving llvm-svn: 150387
-
Alexey Samsonov authored
llvm-svn: 150386
-
Alexey Samsonov authored
llvm-svn: 150385
-
Alexey Samsonov authored
AddressSanitizer: remove match_output.py, split expected output into OS-specific and OS-independent parts llvm-svn: 150384
-
Nadav Rotem authored
Fix a bug in DAGCombine for the optimization of BUILD_VECTOR. We cant generate a shuffle node from two vectors of different types. llvm-svn: 150383
-
Evgeniy Stepanov authored
llvm-svn: 150382
-
Evgeniy Stepanov authored
It is technically reachable on Android, where pthread_exit is not marked noreturn. llvm-svn: 150381
-
Dylan Noblesmith authored
More cleanup after r149799. llvm-svn: 150380
-
Dylan Noblesmith authored
More cleanup after r149798. llvm-svn: 150379
-
Dylan Noblesmith authored
This was never being compiled at all and was bitrotting as a result. Also compile SampleAnalyzerPlugin as a module, not a library, and fix a mistake with not passing the source files to add_clang_library(). llvm-svn: 150378
-
Tobias Grosser authored
llvm-svn: 150377
-
Tobias Grosser authored
llvm-svn: 150376
-
Alexey Samsonov authored
AddressSanitizer: Convert templates for output tests to FileCheck format and move them inside sources llvm-svn: 150375
-
Evgeniy Stepanov authored
This is important for Android, where we can't keep system headers from leaking into asan_interceptors.cc. llvm-svn: 150374
-
Evgeniy Stepanov authored
llvm-svn: 150373
-
Evgeniy Stepanov authored
llvm-svn: 150372
-
Evgeniy Stepanov authored
llvm-svn: 150371
-
Hans Wennborg authored
This makes the printf diagnostics issue warnigns for %a, %A, %e, etc. when used with the wrong argument. llvm-svn: 150370
-
Ahmed Charles authored
llvm-svn: 150369
-
Alexey Samsonov authored
llvm-svn: 150368
-
Alexey Samsonov authored
llvm-svn: 150367
-
Alexey Samsonov authored
llvm-svn: 150366
-
Craig Topper authored
llvm-svn: 150365
-
Ahmed Charles authored
- Use unsigned literals when the desired result is unsigned. This mostly allows unsigned/signed mismatch warnings to be less noisy even if they aren't on by default. - Remove misplaced llvm_unreachable. - Add static to a declaration of a function on MSVC x86 only. - Change some instances of calling a static function through a variable to simply calling that function while removing the unused variable. llvm-svn: 150364
-