- Oct 16, 2012
-
-
David Chisnall authored
metadata. llvm-svn: 166023
-
Alexey Samsonov authored
if (CGM.getModuleDebugInfo()) DebugInfo = CGM.getModuleDebugInfo() into a call: maybeInitializeDebugInfo(); This is a simplification for a possible future fix of PR13942. llvm-svn: 166019
-
Bill Wendling authored
Use the Attributes::get method which takes an AttrVal value directly to simplify the code a bit. No functionality change. llvm-svn: 166010
-
Daniel Dunbar authored
llvm-svn: 165988
-
- Oct 15, 2012
-
-
Nico Weber authored
See PR14013. llvm-svn: 165962
-
Bill Wendling authored
Move the Attributes::Builder outside of the Attributes class and into its own class named AttrBuilder. No functionality change. llvm-svn: 165961
-
Kostya Serebryany authored
[asan] make AddressSanitizer to be a FunctionPass instead of ModulePass. clang part: for FunctionPass we need to run asan at a different point, otherwise it will run before inlining llvm-svn: 165937
-
Bill Wendling authored
llvm-svn: 165925
-
Bill Wendling authored
Convert the uses of the Attributes class over to the new format. The Attributes::get method call now takes an LLVM context so that the attributes object can be uniquified and stored. llvm-svn: 165918
-
Richard Smith authored
fails to return a value, to make debugging this issue easier. llvm-svn: 165914
-
- Oct 14, 2012
-
-
Bill Wendling authored
llvm-svn: 165900
-
Bill Wendling authored
llvm-svn: 165888
-
Nico Weber authored
Eli discovered that __noop's sema behavior also needs some love. I filed PR14081 for that and intend to improve it. llvm-svn: 165886
-
- Oct 13, 2012
-
-
Nico Weber authored
llvm-svn: 165885
-
Eli Friedman authored
Patch by Jeremiah Zanin. llvm-svn: 165849
-
Richard Smith authored
from a floating-point type where the source value is not in the range of representable values of the destination type. llvm-svn: 165843
-
- Oct 12, 2012
-
-
Bill Schmidt authored
For 64-bit PowerPC SVR4, an aggregate containing only one floating-point field (float, double, or long double) must be passed in a register as though just that field were present. This patch addresses the issue during Clang code generation by specifying in the ABIArgInfo for the argument that the underlying type is passed directly in a register. The included test case verifies flat and nested structs for the three data types. llvm-svn: 165816
-
- Oct 11, 2012
-
-
Nadav Rotem authored
llvm-svn: 165741
-
Derek Schuff authored
llvm-svn: 165731
-
Micah Villmow authored
Add in the first iteration of support for llvm/clang/lldb to allow variable per address space pointer sizes to be optimized correctly. llvm-svn: 165726
-
Derek Schuff authored
with x86/ARM architecture llvm-svn: 165722
-
Derek Schuff authored
and Native Client llvm-svn: 165715
-
Nico Weber authored
llvm-svn: 165710
-
Fariborz Jahanian authored
in a category class method, don't read 'isa' pointer. Instead, save the desired OBJC_METACLASS_$_ClassName in __DATA,__objc_superrefs and read that without reading any isa pointers. // rdar://12459358 llvm-svn: 165674
-
- Oct 10, 2012
-
-
Jordan Rose authored
This more accurately reflects its use: this flag is set when a method matches the getter or setter name for a property in the same class, and does not actually specify whether or not the definition of the method will be synthesized (either implicitly or explicitly with @synthesize). This renames the setter and backing field as well, and changes the (soon-to-be-obsolete?) XML dump format to use 'property_accessor' instead of 'synthesized'. llvm-svn: 165626
-
Chandler Carruth authored
The issue arises when coercing to/from types of different sizes. We need to be certain that the allocation on either end has sufficient room for the coerced type. When it doesn't, we need to make room, copy across, and then proceed. PR11905 handled the case of storing function arguments back into allocas in the function prolog, this patch handles the case of setting up the function arguments in a call expression. This is actually significantly simpler than the fix for PR11905. It ends up being a trivial change to create a temporary alloca when the source is too small and memcpy across. This should preserve the compile-time fast-isel benefits of doing gep+load sequences and avoiding FCAs. Reviewed by Benjamin and Evgeniy (who fixed PR11905). llvm-svn: 165615
-
Bill Wendling authored
namespace. Use the attribute's enum value instead. No functionality change intended. llvm-svn: 165611
-
Bill Wendling authored
Have 'addFnAttr' take the attribute enum value. Then have it build the attribute object and add it appropriately. No functionality change. llvm-svn: 165596
-
Richard Smith authored
llvm-svn: 165584
-
Richard Smith authored
llvm-svn: 165583
-
Richard Smith authored
-fcatch-undefined-behavior: store the type name directly at the end of a type descriptor. 5% binary size reduction due to fewer relocations. llvm-svn: 165572
-
- Oct 09, 2012
-
-
Richard Smith authored
llvm-svn: 165536
-
Bill Wendling authored
opaque layer is responsible for knowing where that specific attribute is stored. llvm-svn: 165489
-
- Oct 08, 2012
-
-
Micah Villmow authored
llvm-svn: 165395
-
- Oct 06, 2012
-
-
Benjamin Kramer authored
GCC has always supported this on PowerPC and 4.8 supports it on all platforms, so it's a good idea to expose it in clang too. LLVM supports this on all targets. llvm-svn: 165362
-
Alex Rosenberg authored
llvm-svn: 165343
-
- Oct 05, 2012
-
-
Eli Friedman authored
PR14029, clang part. llvm-svn: 165289
-
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
-
- Oct 04, 2012
-
-
Lang Hames authored
up being contracted during codegen. llvm-svn: 165197
-
- Oct 03, 2012
-
-
Benjamin Kramer authored
false is used as a baseline here, we may want to allow contraction in some of the cases. Found by valgrind. llvm-svn: 165156
-