- Oct 05, 2012
-
-
rdar://problem/12099999Enrico Granata authored
<rdar://problem/12099999> renaming SBStream::Printf to Print in the scripting world in order to avoid supporting varargs through SWIG llvm-svn: 165274
-
Richard Smith authored
- outside C++, return undef (behavior is not undefined unless the value is used) - in C++, with -fcatch-undefined-behavior, perform an appropriate trap - in C++, produce an 'unreachable' (behavior is undefined immediately) llvm-svn: 165273
-
Enrico Granata authored
A tweak to the previous commit to ensure that we don't try to use -> on a NULL pointer (should not happen but better be safe than sorry) llvm-svn: 165272
-
rdar://problem/12413390Enrico Granata authored
<rdar://problem/12413390> Fixing an issue where synthetic ValueObjects do not properly resolve their value llvm-svn: 165271
-
Micah Villmow authored
llvm-svn: 165270
-
Jason Molenda authored
enabled after we'd found a few bugs that were caused by shadowed local variables; the most important issue this turned up was a common mistake of trying to obtain a mutex lock for the scope of a code block by doing Mutex::Locker(m_map_mutex); This doesn't assign the lock object to a local variable; it is a temporary that has its dtor called immediately. Instead, Mutex::Locker locker(m_map_mutex); does what is intended. For some reason -Wshadow happened to highlight these as shadowed variables. I also fixed a few obivous and easy shadowed variable issues across the code base but there are a couple dozen more that should be fixed when someone has a free minute. <rdar://problem/12437585> llvm-svn: 165269
-
Sean Callanan authored
from LLVM and Clang. This made "svn update" very unpleasant if the original repository was fetched by build-llvm.pl. llvm-svn: 165268
-
Nadav Rotem authored
llvm-svn: 165267
-
Sean Callanan authored
because the unwinders typically can find its value. llvm-svn: 165266
-
Richard Smith authored
Clang can now cope with its eccentricities in C++11 mode. llvm-svn: 165265
-
Jim Ingham authored
ClangASTContext::GetIndexOfChildWithName - increment the child index we plan to return as we iterate through the ivars. <rdar://problem/12433299> llvm-svn: 165264
-
Richard Smith authored
a non-inline namespace, then reopens it as inline to try to add its symbols to the surrounding namespace. In this one special case, permit the namespace to be reopened as inline, and patch up the name lookup tables to match. llvm-svn: 165263
-
Micah Villmow authored
Resubmit the copying of TargetData to DataLayout without any changes to the files, this should fix the problems and the changes to rename to DataLayout will come next. llvm-svn: 165262
-
Sean Callanan authored
from a NULL ObjCInterfaceDecl. llvm-svn: 165261
-
- Oct 04, 2012
-
-
rdar://problem/12424824Enrico Granata authored
<rdar://problem/12424824> Making sure that we correctly update our synthetic children provider for NSDictionary - providing better support for dynamic types by letting the filter recalculate itself when the type of the object changes llvm-svn: 165260
-
Abramo Bagnara authored
llvm-svn: 165259
-
Abramo Bagnara authored
llvm-svn: 165258
-
Abramo Bagnara authored
llvm-svn: 165257
-
Abramo Bagnara authored
llvm-svn: 165256
-
Preston Gurd authored
a pointer to a type, in order to remove the uses of getGlobalContext(). Patch by Tyler Nowicki. llvm-svn: 165255
-
Jim Grosbach authored
Make sure functions located in user specified text sections (via the section attribute) are located together with the default text sections. Otherwise, for large object files, the relocations for call instructions are more likely to be out of range. This becomes even more likely in the presence of LTO. rdar://12402636 llvm-svn: 165254
-
Micah Villmow authored
llvm-svn: 165253
-
rdar://problem/12424824Enrico Granata authored
<rdar://problem/12424824> Making sure that we correctly update our synthetic children provider for NSArray - the same work will need to be done for NSDictionary llvm-svn: 165252
-
Micah Villmow authored
Rename TargetData to DataLayout in DataLayout.cpp. This should fix a build failure from r165249 where the wrong version of the file was submitted. llvm-svn: 165251
-
Eric Christopher authored
a) frame setup instructions define the prologue b) we shouldn't change our location mid-stream Add a test to make sure that the stack adjustment stays within the prologue. llvm-svn: 165250
-
Micah Villmow authored
llvm-svn: 165249
-
Bill Schmidt authored
llvm-svn: 165247
-
Andrew Kaylor authored
Patch by Daniel Malea. llvm-svn: 165246
-
Bill Schmidt authored
64-bit PPC SVR4 ABI. The test verifies passing of structures, items with 16-byte alignment, and small items that are passed right-justified in the parameter save area slot. llvm-svn: 165245
-
Micah Villmow authored
llvm-svn: 165244
-
Micah Villmow authored
llvm-svn: 165243
-
Micah Villmow authored
llvm-svn: 165242
-
Michael Liao authored
- Add 'HwEncoding' for X86 registers and call getEncodingValue() to retrieve their encoding values. - This's the first step to adopt new scheme. Furthur revising is onging. llvm-svn: 165241
-
Benjamin Kramer authored
crtfastmath.o contains routines to set the floating point flags to a faster, unsafe mode. Linking it in speeds up code dealing with denormals significantly (PR14024). For now this is only enabled on linux where I can test it and crtfastmath.o is widely available. We may want to provide a similar file with compiler-rt eventually and/or enable it on other platforms too. llvm-svn: 165240
-
Jakub Staszak authored
llvm-svn: 165239
-
Jakub Staszak authored
llvm-svn: 165238
-
Will Schmidt authored
- add tokens to PPCInstrInfo.td and PPCInstr64Bit.td to resolve "Instruction 'foo' has no tokens" errors during llvm-tblgen -gen-asm-matcher attempts. At this time, the added tokens are "#comment" style rather than the actual mnemonic. This will be revisited once the rest of the base asmparser bits get straightened out for ppc64-elf-linux. llvm-svn: 165237
-
Jakob Stoklund Olesen authored
Not all targets have itineraries, but the subtarget always has an MCSchedModel. llvm-svn: 165236
-
Jakob Stoklund Olesen authored
llvm-svn: 165235
-
Michael Han authored
For GNU attributes, instead of reusing attribute source location for the scope location, use SourceLocation() since GNU attributes don not have scope tokens. llvm-svn: 165234
-