- Jun 30, 2010
-
-
Bruno Cardoso Lopes authored
llvm-svn: 107243
-
Chandler Carruth authored
Previously we relied on the presence of a member which needs no initialization to prevent us from creating an additional initialization of the outer anonymous union field. We have already correctly marked that field as initialized by the member of the union (repeatedly due to the original bug this patch fixes) so we simply need to bail out. llvm-svn: 107242
-
Bruno Cardoso Lopes authored
llvm-svn: 107241
-
Bruno Cardoso Lopes authored
llvm-svn: 107240
-
Chandler Carruth authored
else. Get the build bots happy while I debug. Very sorry for the delay fixing this... llvm-svn: 107239
-
Bruno Cardoso Lopes authored
- Add VEX encoding bits to x86 MRM0r-MRM7r llvm-svn: 107238
-
Devang Patel authored
llvm-svn: 107237
-
Jordy Rose authored
Pointers casted as integers still count as locations to SimpleSValuator, so don't crash if we do a funny thing like ((int)ptr)&1. Fixes PR7527. llvm-svn: 107236
-
Chandler Carruth authored
anonymous union under the presumption that they didn't do anything. While this is true, our checks for redundant initialization of an anonymous union still fire when these overlap with explicit user initialization. A cleaner approach is to avoid initializing multiple members of a union altogether, but this still is in a rather fuzzy are especially when C++0x allows non-POD types into unions. llvm-svn: 107235
-
Jakob Stoklund Olesen authored
llvm-svn: 107234
-
Jakob Stoklund Olesen authored
llvm-svn: 107233
-
Daniel Dunbar authored
Revert r107173, "fix PR7519: after thrashing around and remembering how all this stuff", it broke bootstrap. llvm-svn: 107232
-
Daniel Dunbar authored
Revert r107216, "fix PR7523, which was caused by the ABI code calling ConvertType instead", it is part of a boostrap breaking sequence. llvm-svn: 107231
-
Howard Hinnant authored
llvm-svn: 107230
-
Douglas Gregor authored
type to an integral or enumeration type in the size of an array new expression, e.g., new int[ConvertibleToInt(10)]; This is a GNU and C++0x extension. llvm-svn: 107229
-
Devang Patel authored
Add variables into a scope before constructing scope DIE otherwise variables won't be included DIE tree. llvm-svn: 107228
-
Jakob Stoklund Olesen authored
InlineSpiller inserts loads and spills immediately instead of deferring to VirtRegMap. This is possible now because SlotIndexes allows instructions to be inserted and renumbered. This is work in progress, and is mostly a copy of TrivialSpiller so far. It works very well for functions that don't require spilling. llvm-svn: 107227
-
Chandler Carruth authored
initialization. I tried several ideas but couldn't come up with a test case for this that didn't rely on a Clang bug to report a diagnostic after template instantiation of the constructor due to the implicit initializers. Suggestions welcome. This fixes the source location aspect of PR7402. llvm-svn: 107226
-
Bruno Cardoso Lopes authored
llvm-svn: 107225
-
Dan Gohman authored
where each loop's induction variable's start value is the exit value of a preceding loop. llvm-svn: 107224
-
Douglas Gregor authored
have integral or enumeration type, so that we still check the contents of the switch body. My previous patch made this worse; now we're back to where we were previously. llvm-svn: 107223
-
Douglas Gregor authored
enumeration type out into a separate, reusable routine. The only functionality change here is that we recover a little more aggressively from ill-formed switch conditions. llvm-svn: 107222
-
Johnny Chen authored
llvm-svn: 107221
-
Johnny Chen authored
Also modified dotest.py so that it sets the LLDB_TEST environment variable so that individual test cases can locate their supporting files correctly. llvm-svn: 107220
-
Argyrios Kyrtzidis authored
This commit 'introduces' a slightly different way to restore the state of the AST object. It makes PCHDeclReader/PCHDeclWriter friends and gives them access to the private members of the object. The rationale is to avoid using/modifying the AST interfaces for PCH read/write so that to: -Avoid complications with objects that have side-effects during creation or when using some setters. -Not 'pollute' the AST interface with methods only used by the PCH reader/writer -Allow AST objects to be read-only. llvm-svn: 107219
-
Argyrios Kyrtzidis authored
When we know that we are at sub-statement reading (which is all of PCHStmtReader) use the "faster" ReadSubStmt. No functionality change. llvm-svn: 107218
-
Daniel Dunbar authored
complex values either. Previously we did this properly for regular assignment, but not for compound assignment. - Also, tidy up assignment code a bit to look more like the scalar path. llvm-svn: 107217
-
Chris Lattner authored
of ConvertTypeRecursive when it needed to in a few cases, causing pointer types to get resolved at the wrong time. llvm-svn: 107216
-
Bill Wendling authored
llvm-svn: 107215
-
Devang Patel authored
llvm-svn: 107214
-
Eric Christopher authored
llvm-svn: 107213
-
Bill Wendling authored
llvm-svn: 107212
-
Bruno Cardoso Lopes authored
llvm-svn: 107211
-
Daniel Dunbar authored
would trigger an extra method call). - While in the area, I also changed Clang to not emit an unnecessary load from 'x' in cases like 'y = (x = 1)'. llvm-svn: 107210
-
- Jun 29, 2010
-
-
Ted Kremenek authored
be true if some paths were aborted because they exceeded the maximum loop unrolling count. llvm-svn: 107209
-
Devang Patel authored
llvm-svn: 107208
-
Bill Wendling authored
llvm-svn: 107207
-
Bruno Cardoso Lopes authored
llvm-svn: 107206
-
Bill Wendling authored
metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205
-
Bruno Cardoso Lopes authored
Add AVX ld/st XCSR register. Add VEX encoding bits for MRMXm x86 form llvm-svn: 107204
-