- Jul 13, 2011
-
-
Douglas Gregor authored
the complete destructor and then invoke the global delete operator. Previously, we would invoke the deleting destructor, which calls the wrong delete operator. Fixes PR10341. llvm-svn: 135021
-
Bill Wendling authored
not the FDE llvm-svn: 135020
-
Johnny Chen authored
llvm-svn: 135019
-
Eli Friedman authored
llvm-svn: 135018
-
Evan Cheng authored
if (x != 0) x = 1 if (x == 1) x = 1 Previous codegen looks like this: mov r1, r0 cmp r1, #1 mov r0, #0 moveq r0, #1 The naive lowering select between two different values. It should recognize the test is equality test so it's more a conditional move rather than a select: cmp r0, #1 movne r0, #0 rdar://9758317 llvm-svn: 135017
-
Johnny Chen authored
llvm-svn: 135016
-
Bill Wendling authored
llvm-svn: 135015
-
Bill Wendling authored
llvm-svn: 135014
-
Bill Wendling authored
assert when the frame pointer is -1 (i.e., the function is "frameless"). Still to do: "frameless" unwind information. llvm-svn: 135013
-
Enrico Granata authored
llvm-svn: 135012
-
Richard Smith authored
Correctly set up the list of virtual base classes for a CXXRecordDecl. Previously we got the source range wrong for everything in the virtual bases list. llvm-svn: 135011
-
-
Johnny Chen authored
Currently it fails after the inferior is run. rdar://problem/9763907 llvm-svn: 135009
-
Enrico Granata authored
llvm-svn: 135008
-
Enrico Granata authored
- formats %s %char[] %c and %a now work to print 0-terminated c-strings if they are applied to a char* or char[] even without the [] operator (e.g. ${var%s}) - array formats (char[], intN[], ..) now work when applied to an array of a scalar type even without the [] operator (e.g. ${var%int32_t[]}) LLDB will not crash because of endless loop when trying to obtain a summary for an object that has no value and references itself in its summary string In many cases, a wrong summary string will now display an "<error>" message instead of giving out an empty string llvm-svn: 135007
-
Bill Wendling authored
llvm-svn: 135006
-
Johnny Chen authored
llvm-svn: 135005
-
Bruno Cardoso Lopes authored
llvm-svn: 135004
-
Argyrios Kyrtzidis authored
llvm-svn: 135003
-
Argyrios Kyrtzidis authored
[arcmt] Before applying '__weak' check whether the objc class is annotated with objc_arc_weak_reference_unavailable or is in a list of classes not supporting 'weak'. rdar://9489367. llvm-svn: 135002
-
Fariborz Jahanian authored
Make it also available in ObjC++ propeties. // rdar://9740328 llvm-svn: 135001
-
Francois Pichet authored
llvm-svn: 135000
-
- Jul 12, 2011
-
-
David Chisnall authored
llvm-svn: 134998
-
John McCall authored
of flags. No functionality change. llvm-svn: 134997
-
Peter Collingbourne authored
llvm-svn: 134996
-
Benjamin Kramer authored
llvm-svn: 134995
-
Benjamin Kramer authored
Leak found by valgrind. llvm-svn: 134994
-
Douglas Gregor authored
block pointers) that don't have any qualification to be POD types. We were previously considering them to be non-POD types, because this was convenient in C++ for is_pod-like traits. However, we now end up inferring lifetime in such cases (template arguments infer __strong), so it is not necessary. Moreover, we want rvalues of object type (which have their lifetime stripped) to be PODs to allow, e.g., va_arg(arglist, id) to function properly. Fixes <rdar://problem/9758798>. llvm-svn: 134993
-
Fariborz Jahanian authored
implicit ivar accesses to go through the 'self' variable rather than the real 'self' for the method. // rdar://9730771 llvm-svn: 134992
-
Raghesh Aloor authored
This patch reads the change in access functions from imported JSCOP file. A test case is also added. llvm-svn: 134991
-
Greg Clayton authored
by name by adding an extra parameter to the lldb_private::Target breakpoint setting functions. Added a function in the DWARF symbol file plug-in that can dump errors and prints out which DWARF file the error is happening in so we can track down what used to be assertions easily. Fixed the MacOSX kernel plug-in to properly read the kext images and set the kext breakpoint to watch for kexts as they are loaded. llvm-svn: 134990
-
John McCall authored
llvm-svn: 134989
-
John McCall authored
and kill a lot of redundant code. llvm-svn: 134988
-
Jim Grosbach authored
llvm-svn: 134987
-
Jim Grosbach authored
Use memory barriers to force if-conversion off for these tests instead of the internal llc command line option ifcvt-limit. llvm-svn: 134986
-
Garrison Venn authored
1,$s/llvm::Type::getInt\(..\)Ty(builder.getContext())/builder.getInt\1Ty()/g 1,$s/builder.getInt\(..*\)Ty()->getPointerTo()/builder.getInt\1PtrTy()/g vi sub commands (second one was not a reversion but requested by Tobias Grosser. Mod was tested, but other examples have failed to build as they are currently being thrashed with the const qualifier removal change. llvm-svn: 134985
-
Douglas Gregor authored
dependent. This covers an odd class of types such as int (&)[sizeof(sizeof(T() + T()))]; which involve template parameters but, because of some trick typically involving a form of expression that is never type-dependent, resolve down to a non-dependent type. Such types need to be mangled essentially as they were written in the source code (involving template parameters), rather than via their canonical type. In general, instantiation-dependent types should be mangled as they were written in the source. However, since we can't do that now without non-trivial refactoring of the AST (see the new FIXME), I've gone for this partial solution: only use the as-written-in-the-source mangling for these strange types that are instantiation-dependent but not dependent. This provides better compatibility with previous incarnations of Clang and with GCC. In the future, we'd like to get this right. Fixes <rdar://problem/9663282>. llvm-svn: 134984
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 134983
-
Jay Foad authored
StructType::get() and TargetData::getIntPtrType(). llvm-svn: 134982
-
Tobias Grosser authored
llvm-svn: 134981
-