- Nov 15, 2012
-
-
Sergei Larin authored
Add myself as owner of VLIW Instruction Scheduling and Packetization. llvm-svn: 168072
-
Jim Ingham authored
llvm-svn: 168071
-
Jordan Rose authored
This fixes a few cases where we'd emit path notes like this: +---+ 1| v p = malloc(len); ^ |2 +---+ In general this should make path notes more consistent and more correct, especially in cases where the leak happens on the false branch of an if that jumps directly to the end of the function. There are a couple places where the leak is reported farther away from the cause; these are usually cases where there are several levels of nested braces before the end of the function. This still matches our current behavior for when there /is/ a statement after all the braces, though. llvm-svn: 168070
-
Jordan Rose authored
Also, don't bother to stop tracking symbols in the return value, either. They are now properly considered live during checkDeadSymbols. llvm-svn: 168069
-
Jordan Rose authored
Also, don't bother to stop tracking symbols in the return value, either. They are now properly considered live during checkDeadSymbols. llvm-svn: 168068
-
Jordan Rose authored
Also, don't bother to stop tracking symbols in the return value, either. They are now properly considered live during checkDeadSymbols. llvm-svn: 168067
-
Jordan Rose authored
This allows us to properly remove dead bindings at the end of the top-level stack frame, using the ReturnStmt, if there is one, to keep the return value live. This in turn removes the need for a check::EndPath callback in leak checkers. This does cause some changes in the path notes for leak checkers. Previously, a leak would be reported at the location of the closing brace in a function. Now, it gets reported at the last statement. This matches the way leaks are currently reported for inlined functions, but is less than ideal for both. llvm-svn: 168066
-
Anton Korobeynikov authored
Update the email address (old works too, but less reliable) while there llvm-svn: 168065
-
Jakub Staszak authored
llvm-svn: 168064
-
Fariborz Jahanian authored
to a cc1 -fencode-extended-block-signature and pass it to cc1 and recognize this option to produce extended block type signature. // rdar://12109031 llvm-svn: 168063
-
Argyrios Kyrtzidis authored
instead of messing with virtual files. llvm-svn: 168062
-
Argyrios Kyrtzidis authored
as the include location of the main file of an imported module. llvm-svn: 168061
-
Dmitry Vyukov authored
llvm-svn: 168060
-
Dmitry Vyukov authored
llvm-svn: 168059
-
Andrew Trick authored
llvm-svn: 168058
-
Andrew Trick authored
llvm-svn: 168057
-
Dmitri Gribenko authored
FileCheck feature. This will hopefully make tests less fragile. llvm-svn: 168056
-
Dmitri Gribenko authored
llvm-svn: 168055
-
Chad Rosier authored
positive. In this particular case, R6 was being spilled by the register scavenger when it was in fact dead. The isUsed function reported R6 as used because the R6_R7 alias was reserved (due to the fact that we've reserved R7 as the FP). The solution is to only check if the original register (i.e., R6) isReserved and not the aliases. The aliases are only checked to make sure they're available. The test case is derived from one of the nightly tester benchmarks and is rather intractable and difficult to reproduce, so I haven't included it. rdar://12592448 llvm-svn: 168054
-
rdar://problem/11782181Greg Clayton authored
Fixed an issue where lldb was setting breakpoints on too many methods when a partial function name with namespaces or class qualifiers was used. For example setting a breakpoint of "Foo::dealloc" was accidentally settings breakpoints on all objective C functions whose selector was "dealloc"... llvm-svn: 168053
-
Howard Hinnant authored
Remove aborts under __dynamic_cast which were under _LIBCXX_DYNAMIC_FALLBACK. Change all type_info comparisons to use an inlined is_equal helper. However no change in functionality for this latter change at this time. This is just to encapsulate the comparison and make it a little easier to switch back and forth for testing/debugging. llvm-svn: 168052
-
Sergei Larin authored
Similarly to several recent fixes throughout the code replace std::map use with the MapVector. Add find() method to the MapVector. llvm-svn: 168051
-
Dmitry Vyukov authored
add interceptor for poll() in addition process signals in every atomic op in addition process signals in blocking libc functions llvm-svn: 168050
-
Dmitri Gribenko authored
llvm-svn: 168049
-
Dmitri Gribenko authored
llvm-svn: 168048
-
Benjamin Kramer authored
llvm-svn: 168047
-
Alexander Potapenko authored
[ASan] Revert r168040 and r168043 and take a cleaner solution suggested by Kostya: return the known frame name for fake stack instead of looking it up. llvm-svn: 168046
-
Benjamin Kramer authored
It may become a dangling pointer if the underlying SmallVector reallocates. Sadly the testcase is really large and doesn't reduce well because of SmallVector's reallocation patterns. Fixes PR14336. llvm-svn: 168045
-
Alexander Potapenko authored
llvm-svn: 168043
-
Duncan Sands authored
llvm-svn: 168042
-
Dmitri Gribenko authored
llvm-svn: 168041
-
Alexander Potapenko authored
the beginning of the fake frame when reporting an use-after-return error. Fixes http://code.google.com/p/address-sanitizer/issues/detail?id=126 llvm-svn: 168040
-
Alexey Samsonov authored
llvm-svn: 168039
-
Alexey Samsonov authored
llvm-svn: 168038
-
Hans Wennborg authored
For global variables that get the same value stored into them everywhere, GlobalOpt will replace them with a constant. The problem is that a thread-local GlobalVariable looks like one value (the address of the TLS var), but is different between threads. This patch introduces Constant::isThreadDependent() which returns true for thread-local variables and constants which depend on them (e.g. a GEP into a thread-local array), and teaches GlobalOpt not to track such values. llvm-svn: 168037
-
Guy Benyei authored
The new OpenCL SPIR extension spec will define separate SPIR for 32 and 64 bit architectures. llvm-svn: 168036
-
Duncan Sands authored
the utility for extracting a chain of operations from the IR, thought that it might as well combine any constants it came across (rather than just returning them along with everything else). On the other hand, the factorization code would like to see the individual constants (this is quite reasonable: it is much easier to pull a factor of 3 out of 2*3 than it is to pull it out of 6; you may think 6/3 isn't so hard, but due to overflow it's not as easy to undo multiplications of constants as it may at first appear). This patch therefore makes LinearizeExprTree stupider: it now leaves optimizing to the optimization part of reassociate, and sticks to just analysing the IR. llvm-svn: 168035
-
Alexander Potapenko authored
The need for this has been reported by Jack Howarth (howarth@bromo.med.uc.edu) who's porting ASan-Darwin to GCC llvm-svn: 168032
-
Nick Lewycky authored
Fixes PR14073! llvm-svn: 168031
-
Craig Topper authored
llvm-svn: 168030
-