- Nov 12, 2010
-
-
Lang Hames authored
llvm-svn: 118883
-
Jason Molenda authored
needs to use the current pc and current offset in two ways: To determine which function we are currently executing, and the decide how much of that function has executed so far. For the former use, we need to back up the saved pc value by one byte if we're going to use the correct function's unwind information -- we may be executing a CALL instruction at the end of a function and the following instruction belongs to a new function, or we may be looking at unwind information which only covers the call instruction and not the subsequent instruction. But when we're talking about deciding which row of an UnwindPlan to execute, we want to use the actual byte offset in the function, not the byte offset - 1. Right now RegisterContextLLDB is tracking both the "real" offset and an "offset minus one" and different parts of the class have to know which one to use and they need to be updated/set in tandem. I want to revisit this at some point. The second change made in looking up eh_frame information; it was formerly done by looking for the start address of the function we are currently executing. But it is possible to have unwind information for a function which only covers a small section of the function's address range. In which case looking up by the start pc value may not find the eh_frame FDE. The hand-written _sigtramp() unwind info on Mac OS X, which covers exactly one instruction in the middle of the function, happens to trigger both of these issues. I still need to get the UnwindPlan runner to handle arbitrary dwarf expressions in the FDE but there's a good chance it will be easy to reuse the DWARFExpression class to do this. llvm-svn: 118882
-
Ted Kremenek authored
Fix use of an uninitialized SourceLocation because DeclarationNameLoc failed to completely zero-initialize itself. Now we explicitly memset all of its values. This bug was uncovered by the 'Index/recursive-cxx-member-calls.cpp', which exhibited an assertion on an i386 darwin build of clang. Adding this test case back since the assertion is now resolved. llvm-svn: 118881
-
Douglas Gregor authored
direct-initialization (rather than copy-initialization) to initialize the temporary, allowing explicit constructors. Fixes PR8342. llvm-svn: 118880
-
Sean Callanan authored
assembly as well as registers that changed. llvm-svn: 118879
-
Rafael Espindola authored
llvm-svn: 118878
-
Greg Clayton authored
llvm-svn: 118877
-
Jim Ingham authored
llvm-svn: 118876
-
Dan Gohman authored
one store dead. This is especially noticeable in SingleSource/Benchmarks/Shootout/objinst. llvm-svn: 118875
-
Dan Gohman authored
llvm-svn: 118874
-
Sean Callanan authored
object diagnostic expressions while we work on the logic for handling the timeout. llvm-svn: 118873
-
Sean Callanan authored
llvm-svn: 118872
-
Sean Callanan authored
logic that supported calling functions with arbitrary arguments. We use ClangFunction for this, and the low-level logic is only required to support one or two pointer arguments. llvm-svn: 118871
-
Johnny Chen authored
llvm-svn: 118869
-
Johnny Chen authored
They should not fail. llvm-svn: 118868
-
Johnny Chen authored
exercise 'expression' command on namespaced variables. llvm-svn: 118867
-
Greg Clayton authored
thread basic info state and not realize that a thread was already suspended or if a thread was starting up and not ready to be displayed to the user (in an uninterruptable state). If it is not user ready yet, we don't add it to our list of threads that can be played with. llvm-svn: 118866
-
Dale Johannesen authored
llvm-svn: 118865
-
Bruno Cardoso Lopes authored
llvm-svn: 118864
-
Chris Lattner authored
llvm-svn: 118863
-
Chris Lattner authored
llvm-svn: 118862
-
Johnny Chen authored
rdar://problem/8659840 test failure: ./dotest.py -v -t -f NamespaceTestCase.test_with_dwarf_and_run_command llvm-svn: 118861
-
Johnny Chen authored
the architecture and compiler specs. llvm-svn: 118860
-
Jim Grosbach authored
llvm-svn: 118859
-
Johnny Chen authored
llvm-svn: 118856
-
Owen Anderson authored
llvm-svn: 118854
-
Ted Kremenek authored
Modify CursorVisitor to also walks CXXOperatorCallExprs using data-recursion. Fixes <rdar://problem/8659019>. llvm-svn: 118853
-
Ted Kremenek authored
RegionStore/BasicStore: do not return UndefinedVal for accesses to concrete addresses; instead return UnknownVal. This leads it up to checkers (e.g., DereferenceChecker) to guard against illegal accesses (e.g., null dereferences). Fixes PR 5272 and <rdar://problem/6839683>. llvm-svn: 118852
-
- Nov 11, 2010
-
-
Johnny Chen authored
llvm-svn: 118851
-
Wesley Peck authored
llvm-svn: 118848
-
Johnny Chen authored
to invoke the test driver. llvm-svn: 118847
-
Nick Lewycky authored
llvm-svn: 118846
-
Dan Gohman authored
and vaarg instructions. llvm-svn: 118845
-
Wesley Peck authored
Fix minimum 16-bit signed value error exposed by MC asm parser tests Add initial MC asm parser tests for the MBlaze backend llvm-svn: 118844
-
Owen Anderson authored
llvm-svn: 118843
-
Dan Gohman authored
llvm-svn: 118842
-
Dan Gohman authored
testing for dereferenceable pointers into a helper function, isDereferenceablePointer. Teach it how to reason about GEPs with simple non-zero indices. Also eliminate ArgumentPromtion's IsAlwaysValidPointer, which didn't check for weak externals or out of range gep indices. llvm-svn: 118840
-
Johnny Chen authored
llvm-svn: 118839
-
Owen Anderson authored
llvm-svn: 118837
-
Dan Gohman authored
llvm-svn: 118836
-