- Oct 05, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 115590
-
Greg Clayton authored
bool ValueObject::GetIsConstant() const; void ValueObject::SetIsConstant(); This will stop anything from being re-evaluated within the value object so that constant result value objects can maintain their frozen values without anything being updated or changed within the value object. Made it so the ValueObjectConstResult can be constructed with an lldb_private::Error object to allow for expression results to have errors. Since ValueObject objects contain error objects, I changed the expression evaluation in ClangUserExpression from static Error ClangUserExpression::Evaluate (ExecutionContext &exe_ctx, const char *expr_cstr, lldb::ValueObjectSP &result_valobj_sp); to: static lldb::ValueObjectSP Evaluate (ExecutionContext &exe_ctx, const char *expr_cstr); Even though expression parsing is borked right now (pending fixes coming from Sean Callanan), I filled in the implementation for: SBValue SBFrame::EvaluateExpression (const char *expr); Modified all expression code to deal with the above changes. llvm-svn: 115589
-
Argyrios Kyrtzidis authored
Fixes an infinite recursion in overload resolution for rdar://8499524. Many thanks to Doug! llvm-svn: 115588
-
John McCall authored
for the same destination, then we must potentially rewrite the initial branch of every fixup. Without this patch, a short-circuit check meant to prevent a switch case from being redundantly added was preventing later fixups from being processed. Fixes PR8175 (again). llvm-svn: 115586
-
Jim Grosbach authored
llvm-svn: 115584
-
Jim Grosbach authored
llvm-svn: 115583
-
Jim Grosbach authored
that caused the circular dependencies on Linux. Built OK for me on OSX and Linux (Ubuntu) with configure/make and CMake. Will keep an eye on the bots.... llvm-svn: 115582
-
Greg Clayton authored
ClangUserExpression::Evaluate () as a public static function so anyone can evaluate an expression. llvm-svn: 115581
-
Sean Callanan authored
llvm-svn: 115580
-
Johnny Chen authored
llvm-svn: 115579
-
Greg Clayton authored
results. The clang opaque type for the expression result will be added to the Target's ASTContext, and the bytes will be stored in a DataBuffer inside the new object. The class is named: ValueObjectConstResult Now after an expression is evaluated, we can get a ValueObjectSP back that contains a ValueObjectConstResult object. Relocated the value object dumping code into a static function within the ValueObject class instead of being in the CommandObjectFrame.cpp file which is what contained the code to dump variables ("frame variables"). llvm-svn: 115578
-
Howard Hinnant authored
llvm-svn: 115577
-
John McCall authored
both @catches and a @finally, because the second call to @objc_exception_try_enter will clobber the exception slot. Fixes rdar://problem/8440970. llvm-svn: 115575
-
Johnny Chen authored
llvm-svn: 115574
-
Sean Callanan authored
instruction forms. Now the ENTER instruction disassembles correctly. llvm-svn: 115573
-
Jim Ingham authored
llvm-svn: 115572
-
Evan Cheng authored
// %a = ... // %b = and i32 %a, 2 // %c = srl i32 %b, 1 // brcond i32 %c ... // // into // // %a = ... // %b = and i32 %a, 2 // %c = setcc eq %b, 0 // brcond %c ... Make sure it restores local variable N1, which corresponds to the condition operand if it fails to match. This apparently breaks TCE but since that backend isn't in the tree I don't have a test for it. llvm-svn: 115571
-
Caroline Tice authored
(for standardized argument names, argument help, etc.) llvm-svn: 115570
-
Devang Patel authored
llvm-svn: 115569
-
Devang Patel authored
llvm-svn: 115568
-
Bruno Cardoso Lopes authored
llvm-svn: 115566
-
- Oct 04, 2010
-
-
Devang Patel authored
Emit debug info for an aggregate while processing MemberExpr if the aggregate's debug info was delayed untill now. llvm-svn: 115564
-
Chris Lattner authored
patch by Arvid Picciani! llvm-svn: 115563
-
Devang Patel authored
llvm-svn: 115561
-
Douglas Gregor authored
llvm-svn: 115560
-
Bill Wendling authored
it in with the SSSE3 instructions. Steward! Could you place this chair by the aft sun deck? I'm trying to get away from the Astors. They are such boors! llvm-svn: 115552
-
Kevin Enderby authored
1) Changed ValidateDwarfFileNumber() to isValidDwarfFileNumber() to be better named. Since it is just a predicate and isn't actually changing any state. 2) Added a missing return in the comments for setCurrentDwarfLoc() in include/llvm/MC/MCContext.h for fix formatting. 3) Changed clearDwarfLocSeen() to ClearDwarfLocSeen() since it does change state. 4) Simplified the last test in isValidDwarfFileNumber() to just a one line boolean test of MCDwarfFiles[FileNumber] != 0 for the final return statement. llvm-svn: 115551
-
Daniel Dunbar authored
llvm-svn: 115550
-
Daniel Dunbar authored
llvm-svn: 115549
-
Rafael Espindola authored
llvm-svn: 115547
-
Jim Ingham authored
Add a "Confirm" function to the CommandInterpreter so you can confirm potentially dangerous operations in a generic way. llvm-svn: 115546
-
Rafael Espindola authored
llvm-svn: 115545
-
Jim Ingham authored
llvm-svn: 115543
-
Rafael Espindola authored
llvm-svn: 115541
-
Howard Hinnant authored
llvm-svn: 115540
-
Howard Hinnant authored
Still working on the basic design of <atomic>. I'm working towards a system by which the compiler only needs to define the strongest intrinsics it can. Weaker atomics in the library automatically try stronger and stronger variants, picking the weakest compiler intrinsic available. If no compiler intrinsics are available for a given operation, the library locks a mutex and does the job. Better documentation to follow... llvm-svn: 115538
-
Rafael Espindola authored
llvm-svn: 115537
-
Johnny Chen authored
the stdc++ library module. Right now, it doesn't do any disassembly at all. It merely locates the stdc++ library. Also tests the SBProcess object description and verifies it is in a 'Stopped' state. llvm-svn: 115536
-
Greg Clayton authored
llvm-svn: 115535
-
Douglas Gregor authored
When a type comes from a previously-loaded PCH/AST file, don't try to write it into a chained PCH file. llvm-svn: 115527
-