- Mar 22, 2012
-
-
Craig Topper authored
llvm-svn: 153245
-
Ted Kremenek authored
"Teach" RetainCountChecker about dispatch_set_context, which can indirectly free its argument later. Fixes <rdar://problem/11059275>. llvm-svn: 153244
-
Chandler Carruth authored
relied on an artifact of how the inliner and subsequent passes in clang's -O3 mode happen to treat basic blocks and the labels for the basic blocks. In my work on the inliner, and changed this fundamental assumption, and the label that was being checked on the entry basic block will no longer appear in opt builds. There was no reason to expect the label to always be present anyways, much to my regret. I've changed the test to just ensure that we return an immediate constant. If there are intervening instructions, that's bad, but not really that relevant to the test. I'd love it if others have a better way of checking that a function body contains only a 'ret' instruction that isn't dependent on whether or not the entry block receives a label... llvm-svn: 153243
-
Ted Kremenek authored
Fix broken CFG when an initializer is a statement expression that starts with a while loop (PR 12325). llvm-svn: 153242
-
Chandler Carruth authored
(and hopefully on Windows). The bots have been down most of the day because of this, and it's not clear to me what all will be required to fix it. The commits started with r153205, then r153207, r153208, and r153221. The first commit seems to be the real culprit, but I couldn't revert a smaller number of patches. When resubmitting, r153207 and r153208 should be folded into r153205, they were simple build fixes. llvm-svn: 153241
-
Hal Finkel authored
I don't have a small test case yet, but I'll try to construct one. llvm-svn: 153240
-
Johnny Chen authored
member variables were not reset appropriately. llvm-svn: 153239
-
Chris Lattner authored
llvm-svn: 153238
-
Chris Lattner authored
llvm-svn: 153237
-
Richard Smith authored
specialization is known to be incomplete. If we're asked to try to complete it, don't attempt to instantiate it again -- that can lead to stack overflow, and to rejects-valids if the class being incomplete is not an error. llvm-svn: 153236
-
Argyrios Kyrtzidis authored
evaluate RHS if LHS could not be evaluated and keepEvaluatingAfterFailure() is false. llvm-svn: 153235
-
Eric Christopher authored
metadata operand as an actual operand, leading to an assert. Error out in this case. rdar://11007633 llvm-svn: 153234
-
Sean Callanan authored
not properly print the load addresses for PC-relative jumps. llvm-svn: 153233
-
Anna Zaks authored
llvm-svn: 153232
-
Greg Clayton authored
them both installed with the LLVM MC version being the default. I renamed the name of the LLVM MC disassembler plug-in to "llvm-mc" and the LLVM enhanced disassembly plug-in to "llvm-edis" and they can both be installed for now. To use the "llvm-edis" disassembler, you can just specify it while disassembling: (lldb) disassemble --plugin llvm-edis --name main (lldb) disassemble --plugin llvm-mc --name main This will allow us to compare the output of the two disassembler and eventually deprecate the old one when the new one is ready. But it does use the new disassembler by default so we continue to test it on a daily basis. llvm-svn: 153231
-
Chad Rosier authored
execution-time regression for nsieve-bits on the ARMv7 -O0 -g nightly tester. This may also improve compile-time on architectures that would otherwise generate a libcall for urem (e.g., ARM) or fall back to the DAG selector. rdar://10810716 llvm-svn: 153230
-
Johnny Chen authored
However, the debugserver cannot get past the instruction which triggered the watchpoint. So a workaround is in place for the time being which disables the triggered watchpoint before resuming. Lots of commented out printf's remain in the source which needs to be cleaned up. WIP rdar://problem/9667960 llvm-svn: 153228
-
Fariborz Jahanian authored
all objc_msgSend unctions to void parameters and void return. // rdar://11094890 llvm-svn: 153227
-
Richard Trieu authored
non-constant value encountered. This allows the evaluator to deduce that expressions like (x < 5 || true) is equal to true. Previously, it would visit x and determined that the entire expression is could not evaluated to a constant. This fixes PR12318. llvm-svn: 153226
-
Michael J. Spencer authored
som inputs. Bug found and fix proposed by Kal Conley! llvm-svn: 153225
-
- Mar 21, 2012
-
-
Nick Lewycky authored
llvm-svn: 153224
-
Greg Clayton authored
llvm-svn: 153223
-
Andrew Trick authored
llvm-svn: 153222
-
Danil Malyshev authored
Added ExecutionEngine/MCJIT tests. llvm-svn: 153221
-
Benjamin Kramer authored
llvm-svn: 153220
-
Fariborz Jahanian authored
the diagnostic instead of displaying ''. // rdar://11082110 llvm-svn: 153219
-
Kevin Enderby authored
case for all opcodes handed by DecodeVSTInstruction() in ARMDisassembler.cpp . llvm-svn: 153218
-
-
Chad Rosier authored
rdar://11054144 llvm-svn: 153216
-
Jan Sjödin authored
llvm-svn: 153215
-
Nico Weber authored
llvm-svn: 153214
-
Nico Weber authored
This is in braces so that it doesn't conflict with the existing %p. It uses braces instead of parens because parens would have to be regex-escaped. llvm-svn: 153213
-
Anna Zaks authored
Specifically, we use the last store of the leaked symbol in the leak diagnostic. (No support for struct fields since the malloc checker doesn't track those yet.) + Infrastructure to track the regions used in store evaluations. This approach is more precise than iterating the store to obtain the region bound to the symbol, which is used in RetainCount checker. The region corresponds to what is uttered in the code in the last store and we do not rely on the store implementation to support this functionality. llvm-svn: 153212
-
Anna Zaks authored
So that others could use it as well. No functionality change. llvm-svn: 153211
-
Anna Zaks authored
(The fix was committed in r152982.) llvm-svn: 153210
-
Danil Malyshev authored
llvm-svn: 153208
-
Danil Malyshev authored
llvm-svn: 153207
-
Johnny Chen authored
WIP for rdar://problem/9667960 llvm-svn: 153206
-
Danil Malyshev authored
Based on this discussion: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20120305/138477.html 1. Declare a virtual function getPointerToNamedFunction() in JITMemoryManager 2. Move the implementation of getPointerToNamedFunction() form JIT/MCJIT to DefaultJITMemoryManager. llvm-svn: 153205
-
Johnny Chen authored
llvm-svn: 153204
-