- Feb 25, 2012
-
-
Sebastian Redl authored
This emits a backing array with internal linkage and fills it with data, then has the initializer_list point at the array. Dynamic initialization and global destructors are correctly supported. What doesn't work is nested initializer_lists. I have no idea how to get them to work, either. However, these should be very rare, and so I'll just call it a known bug and declare generalized initializers DONE! llvm-svn: 151457
-
Sebastian Redl authored
llvm-svn: 151456
-
Sebastian Redl authored
Better mangling for new-expressions. Also, although we can't mangle arbitrary initializer lists yet (we will need this), turn the crash into a controlled error. llvm-svn: 151455
-
Chad Rosier authored
ARM: enable the integrated assembler by default for Darwin. llvm-svn: 151454
-
Howard Hinnant authored
llvm-svn: 151453
-
Nick Lewycky authored
equal if both are null. In the test, scope type %t and global @y by adding a 'gep' prefix to them. llvm-svn: 151452
-
Howard Hinnant authored
llvm-svn: 151451
-
Nick Lewycky authored
llvm-svn: 151450
-
Nick Lewycky authored
by using llvm::isIdentifiedObject. Also teach it to handle GEPs that have the same base pointer and constant operands. Fixes PR11238! llvm-svn: 151449
-
NAKAMURA Takumi authored
Patch by Joe Groff. llvm-svn: 151448
-
Ahmed Charles authored
llvm-svn: 151447
-
Nick Lewycky authored
function that others can use, next to llvm::isIdentifiedObject. llvm-svn: 151446
-
Richard Smith authored
likewise for __has_extension). Patch by Jonathan Sauer! llvm-svn: 151445
-
Richard Smith authored
in cases where we would otherwise disallow the access, and add a -Wc++98-compat diagnostic for this C++11 feature. llvm-svn: 151444
-
Richard Smith authored
unevaluated operands applies within member functions, too. llvm-svn: 151443
-
Richard Smith authored
llvm-svn: 151442
-
Richard Smith authored
data members for deleted or user-provided destructors. Now it's computed in advance, serialize it, and in passing fix all the other record DefinitionData flags whose serialization was missing. llvm-svn: 151441
-
Nick Lewycky authored
llvm-svn: 151440
-
Greg Clayton authored
llvm-svn: 151439
-
rdar://problem/9886712Greg Clayton authored
Added a dedicated platform for the iOS simulator. This helps us to find the correct files for a simulator binary before running and helps us select the right arch (i386 only) for files when we load them. llvm-svn: 151436
-
Johnny Chen authored
Now Each newly created target has its Watchpoint IDs as 1, 2, 3 ... llvm-svn: 151435
-
Richard Smith authored
associated classes, since it can find friend functions declared within them, but overload resolution does not otherwise require argument types to be complete. llvm-svn: 151434
-
Hal Finkel authored
Reverting this because it breaks static linking on ppc64. Specifically, it may be linkonce_odr functions that are the problem. With this patch, if you link statically, calls to some functions end up calling their descriptor addresses instead of calling to their entry points. This causes the execution to fail with SIGILL (b/c the descriptor address just has some pointers, not code). llvm-svn: 151433
-
NAKAMURA Takumi authored
Target/X86: Fix assertion failures and warnings caused by r151382 _ftol2 lowering for i386-*-win32 targets. Patch by Joe Groff. [Joe Groff] Hi everyone. My previous patch applied as r151382 had a few problems: Clang raised a warning, and X86 LowerOperation would assert out for fptoui f64 to i32 because it improperly lowered to an illegal BUILD_PAIR. Here's a patch that addresses these issues. Let me know if any other changes are necessary. Thanks. llvm-svn: 151432
-
Chad Rosier authored
llvm-svn: 151431
-
Chad Rosier authored
rdar://10921594 llvm-svn: 151430
-
Chad Rosier authored
are optimization hints, but at -O0 we're not optimizing. This becomes a problem when the alwaysinline attribute is abused. rdar://10921594 llvm-svn: 151429
-
Eli Friedman authored
Work-in-progress for lambda conversion-to-block operator. Still need to implement the retain+autorelease outside of ARC, and there's a bug that causes the generated code to crash in ARC (which I think is unrelated to my code, although I'm not completely sure). llvm-svn: 151428
-
Argyrios Kyrtzidis authored
it can only bring pain when dealing with preprocessor abuse (see: boost). rdar://10898986 llvm-svn: 151427
-
Ted Kremenek authored
RetainCountChecker: don't adjust the retain count when analyzing a ReturnStmt unless we are in the top-level call frame. We can do more later, but this makes the checker self-consistent (and fixes a crash). llvm-svn: 151426
-
Lang Hames authored
uses of the vreg, since the old kills may no longer be valid. This was causing -verify-machineinstrs to complain about uses after kills, and could potentially have been causing subtle register allocation issues, but I haven't come across a test case yet. llvm-svn: 151425
-
Argyrios Kyrtzidis authored
more harm than good. Fixes rdar://10522805&10521433 llvm-svn: 151424
-
Greg Clayton authored
llvm-svn: 151422
-
Greg Clayton authored
llvm-svn: 151421
-
Chad Rosier authored
llvm-svn: 151420
-
rdar://problem/3535148Han Ming Ong authored
Added ability to debug root processes on OS X. This uses XPC service that is available on Lion and above only. llvm-svn: 151419
-
Eric Christopher authored
llvm-svn: 151418
-
Lang Hames authored
llvm-svn: 151417
-
Eli Friedman authored
Improve the diagnostic in ARC mode when a conditional with an Objective-C type and void* is used. <rdar://problem/10486347>. llvm-svn: 151416
-
Akira Hatanaka authored
add/sub instructions. llvm-svn: 151415
-