- Aug 16, 2013
-
-
Matt Arsenault authored
llvm-svn: 188506
-
DeLesley Hutchins authored
llvm-svn: 188505
-
Daniel Dunbar authored
llvm-svn: 188504
-
Daniel Dunbar authored
llvm-svn: 188503
-
Daniel Dunbar authored
llvm-svn: 188502
-
David Blaikie authored
llvm-svn: 188501
-
David Blaikie authored
llvm-svn: 188500
-
Lang Hames authored
same way as X86_64_GOT relocations. The 'Load' part of GOTLoad is just an optimization hint for the linker anyway, and can be safely ignored. This patch also fixes some minor issues with the relocations introduced while processing an X86_64_GOT[Load]: the addend for the GOT entry should always be zero, and the addend for the replacement relocation at the original offset should be the same as the addend of the relocation being replaced. I haven't come up with a good way of testing this yet, but I'm working on it. This fixes <rdar://problem/14651564>. llvm-svn: 188499
-
David Blaikie authored
llvm-svn: 188498
-
Fariborz Jahanian authored
to define real CF_RETURNS_RETAINED/CF_NO_RETURNS_RETAINED pairs. llvm-svn: 188497
-
David Blaikie authored
llvm-svn: 188496
-
Eli Friedman authored
In addition to storing more useful information in the AST, this fixes a semantic check in template instantiation which checks whether the l-paren location is valid. Fixes PR16903. llvm-svn: 188495
-
- Aug 15, 2013
-
-
David Blaikie authored
llvm-svn: 188494
-
Fariborz Jahanian authored
with CF_RETURNS_RETAINED/CF_RETURNS_NOT_RETAINED as appropriate. llvm-svn: 188493
-
David Blaikie authored
Rather than having a cast immediately inside the function, push that type requirement out to the callers. llvm-svn: 188492
-
David Blaikie authored
(the removed FIXME no longer applies since we made this debug info optimization not apply to C) llvm-svn: 188491
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D1397 llvm-svn: 188490
-
Yunzhong Gao authored
the input character is not converted to char before comparing with zero. The patch was discussed in this thread: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20130812/184069.html llvm-svn: 188489
-
Renato Golin authored
This updates clang according to a pending patch for llvm to rename of the -arm-darwin-use-movt to arm-use-movt to make it available for all of ARM. note: please apply this close to the llvm change. Patch by Jeroen Hofstee. llvm-svn: 188488
-
Renato Golin authored
Before this patch this flag is IOS specific, but is also useful for bare project like bootloaders / kernels etc, since movw / movt prevents simple relocation. Therefore make this flag more commonly available. note: this patch depends on a similiar rename in clang Patch by Jeroen Hofstee. llvm-svn: 188487
-
David Blaikie authored
Rather than going through the whole getOrCreateType machinery to manifest a type, cut straight to the implementation because we know we have to do work. While the previous implementation was sufficient for the two cases (completeness and required completeness) we have already (the general machinery could inspect the type for those attributes & go down the full definition path), a pending change (to emit info for types when we emit their vtables) won't have that luxury & we'll need to force the creation rather than relying on the general purpose routine. llvm-svn: 188486
-
Renato Golin authored
r9 is defined as a platform-specific register in the ARM EABI. It can be reserved for a special purpose or be used as a general purpose register. Add support for reserving r9 for all ARM, while leaving the IOS usage unchanged. Patch by Jeroen Hofstee. llvm-svn: 188485
-
Bill Wendling authored
llvm-svn: 188484
-
Bill Wendling authored
llvm-svn: 188483
-
David Blaikie authored
It still does only return DICompositeType, but I've no need to make that change right now. llvm-svn: 188482
-
David Majnemer authored
Summary: We would crash in CodeGen::CodeGenModule::EmitUuidofInitializer because our attempt to enter CodeGen::CodeGenModule::EmitConstantValue will be foiled: the type of the constant value is incomplete. Instead, create an unnamed type with the proper layout on all platforms. Punt the problem of wrongly defined struct _GUID types to the user. (It's impossible because the TU may never get to see the type and thus we can't verify that it is suitable.) This fixes PR16856. Reviewers: rsmith, rnk, thakis Reviewed By: rnk CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1375 llvm-svn: 188481
-
Fariborz Jahanian authored
ObjectiveC migration. llvm-svn: 188480
-
Michael Gottesman authored
llvm-svn: 188479
-
Michael Gottesman authored
This is a patch in a longer series of patches to add capabilities/definitions that are present in the Autotools build chain and not in the CMake build chain to the CMake build chain. *NOTE* I am hacking on this in my free time. I will annotate each commit with the [autotools->cmake] header. llvm-svn: 188478
-
Aaron Watry authored
rhadd = (x+y+1)>>1 Implemented as: (x>>1) + (y>>1) + ((x&1)|(y&1)) This prevents us having to do assembly addition and overflow detection Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 188477
-
Aaron Watry authored
(x + y) >> 1 gets changed to: (x>>1) + (y>>1) + (x&y&1) Saves us having to do any llvm assembly and overflow checking in the addition. Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 188476
-
David Blaikie authored
This happens in the caller a few frames up anyway. llvm-svn: 188475
-
David Blaikie authored
No functionality change, at best a slight (questionable) optimization, but necessary for correctness of future work. llvm-svn: 188474
-
Fariborz Jahanian authored
- This line, and those below, will be ignored-- M lib/ARCMigrate/ObjCMT.cpp llvm-svn: 188473
-
Peter Collingbourne authored
Summary: When the -dfsan-debug-nonzero-labels parameter is supplied, the code is instrumented such that when a call parameter, return value or load produces a nonzero label, the function __dfsan_nonzero_label is called. The idea is that a debugger breakpoint can be set on this function in a nominally label-free program to help identify any bugs in the instrumentation pass causing labels to be introduced. Reviewers: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1405 llvm-svn: 188472
-
Peter Collingbourne authored
Reviewers: eugenis CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1406 llvm-svn: 188471
-
Fariborz Jahanian authored
NS_ENUM, at least one power of 2 enumerator must be greater than two. llvm-svn: 188470
-
Bill Wendling authored
llvm-svn: 188469
-
Jordan Rose authored
When a region is realloc()ed, MallocChecker records whether it was known to be allocated or not. If it is, and the reallocation fails, the original region has to be freed. Previously, when an allocated region escaped, MallocChecker completely stopped tracking it, so a failed reallocation still (correctly) wouldn't require freeing the original region. Recently, however, MallocChecker started tracking escaped symbols, so that if it were freed we could check that the deallocator matched the allocator. This broke the reallocation model for whether or not a symbol was allocated. Now, MallocChecker will actually check if a symbol is owned, and only require freeing after a failed reallocation if it was owned before. PR16730 llvm-svn: 188468
-
Joey Gouly authored
llvm-svn: 188467
-