- Jul 15, 2011
-
-
Devang Patel authored
llvm-svn: 135302
-
Argyrios Kyrtzidis authored
id x = ... @try { ... } @finally { [x release]; } Migrator will drop the release. It's better to change it to "x = 0" in a @finally to avoid leak when exception is thrown. rdar://9398256 llvm-svn: 135301
-
Douglas Gregor authored
llvm-svn: 135300
-
Chad Rosier authored
llvm-svn: 135299
-
Eric Christopher authored
llvm-svn: 135298
-
Jakub Staszak authored
not isEquality(). llvm-svn: 135296
-
Johnny Chen authored
Add some more docstrings for SBCompileUnit and SBBreakpoint, plus incorporate the doxgen doc block of SBValue::GetChildAtIndex(uint32_t idx, lldb::DynamicValueType use_dynamic, bool can_create_synthetic); into the SBValue docstrings. llvm-svn: 135295
-
Jordy Rose authored
llvm-svn: 135294
-
Eli Friedman authored
llvm-svn: 135293
-
Greg Clayton authored
represent pointers and arrays by adding an extra parameter to the SBValue SBValue::GetChildAtIndex (uint32_t idx, DynamicValueType use_dynamic, bool can_create_synthetic); The new "can_create_synthetic" will allow you to create child values that aren't actually a part of the original type. So if you code like: int *foo_ptr = ... And you have a SBValue that contains the value for "foo_ptr": SBValue foo_value = ... You can now get the "foo_ptr[12]" item by doing this: v = foo_value.GetChiltAtIndex (12, lldb.eNoDynamicValues, True); Normall the "foo_value" would only have one child value (an integer), but we can create "synthetic" child values by treating the pointer as an array. Likewise if you have code like: int array[2]; array_value = .... v = array_value.GetChiltAtIndex (0); // Success, v will be valid v = array_value.GetChiltAtIndex (1); // Success, v will be valid v = array_value.GetChiltAtIndex (2); // Fail, v won't be valid, "2" is not a valid zero based index in "array" But if you use the ability to create synthetic children: v = array_value.GetChiltAtIndex (0, lldb.eNoDynamicValues, True); // Success, v will be valid v = array_value.GetChiltAtIndex (1, lldb.eNoDynamicValues, True); // Success, v will be valid v = array_value.GetChiltAtIndex (2, lldb.eNoDynamicValues, True); // Success, v will be valid llvm-svn: 135292
-
Chad Rosier authored
llvm-svn: 135291
-
Owen Anderson authored
Remove VMOVDneon and VMOVQ, which are just aliases for VORR. This continues to simplify the path towards an auto-generated disassembler. llvm-svn: 135290
-
Benjamin Kramer authored
llvm-svn: 135289
-
Benjamin Kramer authored
- No ELF or COFF implementation yet, I don't have a way to test that. Should be straightforward to add though. llvm-svn: 135288
-
Kevin Enderby authored
llvm-svn: 135287
-
Chad Rosier authored
is named after a common idiom (i.e., memset/memcpy). Otherwise, we can run into infinite recursion. Ideally, the user should use the correct -fno-builtin flag, but in case they don't we should play nicely. rdar://9763412 llvm-svn: 135286
-
Joerg Sonnenberger authored
llvm-svn: 135285
-
Greg Clayton authored
llvm-svn: 135284
-
Owen Anderson authored
Remove unnecessary duplicate instruction definitions that simply overloaded the type of VEXT. This can be achieved with a Pat definition, and is much more disassembler friendly. llvm-svn: 135283
-
Benjamin Kramer authored
llvm-svn: 135282
-
Frits van Bommel authored
llvm-svn: 135281
-
Jeffrey Yasskin authored
convertToInt(integerParts*) and make them more reliable. llvm-svn: 135279
-
Devang Patel authored
llvm-svn: 135278
-
tcp://<hostGreg Clayton authored
same as the old "connect://<host>:<port>". Also added the ability to connect using "udp://<host>:<port>" which will open a connected datagram socket. I need to find a way to specify a non connected datagram socket as well. We might need to start setting some settings in the URL itself, maybe something like: udp://<host>:<port>?connected=yes udp://<host>:<port>?connected=no I am open to suggestions for URL settings. Also did more work on the KDP darwin kernel plug-in. llvm-svn: 135277
-
Douglas Gregor authored
llvm-svn: 135275
-
Douglas Gregor authored
attributes. Fixes <rdar://problem/9561076>. llvm-svn: 135273
-
Howard Hinnant authored
llvm-svn: 135272
-
Howard Hinnant authored
llvm-svn: 135271
-
NAKAMURA Takumi authored
MSVC decorates (and distinguishes) "const" in mangler. It brought linkage error between "extern const" declarations and definitions. llvm-svn: 135269
-
Francois Pichet authored
llvm-svn: 135268
-
Frits van Bommel authored
In Twine::str(), if the Twine stores only a std::string, just return a direct copy of that instead of first copying to a SmallString and converting that to a std::string. Also fix some indentation. llvm-svn: 135267
-
Francois Pichet authored
llvm-svn: 135266
-
Jay Foad authored
llvm-svn: 135265
-
John McCall authored
which is required given the current setup for template argument deduction substitution validation, and add a test case to make sure we don't break it in the future. llvm-svn: 135262
-
Chandler Carruth authored
desired overload. This is a bit of a hackish workaround to fix the compile after r135259. Let me know if there is a better approach. llvm-svn: 135261
-
Chandler Carruth authored
the exception of its uses of SourceManager and SourceLocation APIs. llvm-svn: 135260
-
Jeffrey Yasskin authored
memory for the result. llvm-svn: 135259
-
John McCall authored
Also add the missing serialization support for SEHTryStmt, SEHFinallyStmt, and SEHExceptStmt, and fix and finish the serialization support for AsTypeExpr. In addition, change the code so that it will no longer link if a Stmt subclass is missing serialization support. llvm-svn: 135258
-
John McCall authored
is right --- shouldn't there be a TypeLoc in here somewhere? --- but at least it doesn't have a redundant QualType and a broken children() method. Noticed this while doing things in serialization. llvm-svn: 135257
-
Chris Lattner authored
to prevent recursive compilation problems. This fixes a failure of CodeGen/decl.c on x86-32 targets that don't fill in the coerce-to type. llvm-svn: 135256
-