- Oct 26, 2012
-
-
Fariborz Jahanian authored
extern "C", its method definitions must be IRGen'ed before meta-data for class is generated. Otherwise, IRGen crashes (to say the least). // rdar://12581683 llvm-svn: 166809
-
Argyrios Kyrtzidis authored
is absolute. llvm-svn: 166808
-
Bill Schmidt authored
varargs parameter passing. A strict reading of the ABI indicates that any argument with alignment greater than 8 may require skipping doublewords in the parameter save area to align the argument, and hence require skipping GPRs. In practice, this is not done by GCC. The alignment restriction is used for internal alignment of a structure, but a structure with 16-byte alignment, for example, is not itself 16-byte aligned in the parameter save area. Although this is messy, it has become the de facto standard used in building existing libraries. My initial varargs support followed the ABI language, but not the de facto standard. Running the GCC compatibility test suite exposed this issue, and indeed showed that LLVM didn't pass parameters self-consistently with my original logic. Removing the additional alignment logic allows the affected tests to now pass. I modified the ppc64-varargs-struct.c test case to remove the existing test for generation of alignment code, which is no longer appropriate. Built and tested on powerpc64-unknown-linux-gnu with no new regressions. llvm-svn: 166805
-
Argyrios Kyrtzidis authored
llvm-svn: 166801
-
Douglas Gregor authored
only actually get the answer right if there was only a single anonymous struct/union at that level. This is part of <rdar://problem/11904570>; the test will go into LLDB itself. llvm-svn: 166781
-
Ted Kremenek authored
llvm-svn: 166778
-
Douglas Gregor authored
ASTImporter. llvm-svn: 166777
-
Douglas Gregor authored
allowed to complain about a failure. llvm-svn: 166776
-
Fariborz Jahanian authored
variable descriptor captured by a block. llvm-svn: 166746
-
Quentin Colombet authored
llvm-svn: 166744
-
Manman Ren authored
There intrinsics pass through the upper FP values from the input. rdar://12558838 llvm-svn: 166743
-
Bill Wendling authored
This code checks the ASM string to see if the output size is able to fit within the variable specified as the output. For instance, scalar-to-vector conversions may not really work. It's on by default, but can be turned off with a flag if you think you know what you're doing. This is placed under a flag ('-Wasm-operand-widths') and flag group ('-Wasm'). <rdar://problem/12284092> llvm-svn: 166737
-
Fariborz Jahanian authored
what it is meant for. llvm-svn: 166734
-
Ted Kremenek authored
path notes for cases where a value may be assumed to be null, etc. Instead of having redundant diagnostics, do a pass over the generated PathDiagnostic pieces and remove notes from TrackConstraintBRVisitor that are already covered by ConditionBRVisitor, whose notes tend to be better. Fixes <rdar://problem/12252783> llvm-svn: 166728
-
- Oct 25, 2012
-
-
Chad Rosier authored
llvm-svn: 166723
-
Fariborz Jahanian authored
layout meta-data work. wip. llvm-svn: 166717
-
Dmitri Gribenko authored
llvm-svn: 166705
-
Fariborz Jahanian authored
llvm-svn: 166703
-
Micah Villmow authored
llvm-svn: 166684
-
David Tweed authored
Modify the targets to set appropriate calling convention defaults and C variables when using a gnueabihf or aapcs-vfp target. Tested by me and Wei-Ren Chen. llvm-svn: 166679
-
Alexey Samsonov authored
Initialize debug info for special cases of functions that lack declarations and are generated by Clang (global initializers/destructors, thunks) . Fixes PR13942. llvm-svn: 166676
-
Richard Smith authored
llvm-svn: 166661
-
Argyrios Kyrtzidis authored
when computing the size of the precompiled preamble. llvm-svn: 166659
-
Bill Wendling authored
llvm-svn: 166655
-
Douglas Gregor authored
replaced by the more efficient, cleaner preprocessor-option version that occurs earlier in PCH validation. llvm-svn: 166654
-
Douglas Gregor authored
checking, and disable the old predefines-buffer-diff'ing code path. llvm-svn: 166653
-
Eli Friedman authored
Reported in the thread "devirtualisation appears to crash clang on covariant functions on ARM" on cfe-dev. llvm-svn: 166651
-
Douglas Gregor authored
llvm-svn: 166650
-
Douglas Gregor authored
predefines. We're not quite ready to cut over to these suggested predefines yet, however. llvm-svn: 166648
-
Bill Wendling authored
modifiers. (From an idea by Eric...) <rdar://problem/12284092> llvm-svn: 166647
-
Richard Smith authored
'constexpr' and 'friend' are both declaration specifiers. Teach the parser this, for better error recovery. llvm-svn: 166645
-
Richard Smith authored
rebuilds a function type, and that function type has parens around its name. llvm-svn: 166644
-
Douglas Gregor authored
the macros that are #define'd or #undef'd on the command line. This checking happens much earlier than the current macro-definition checking and is far cleaner, because it does a direct comparison rather than a diff of the predefines buffers. Moreover, it allows us to use the result of this check to skip over PCH files within a directory that have non-matching -D's or -U's on the command line. Finally, it improves the diagnostics a bit for mismatches, fixing <rdar://problem/8612222>. The old predefines-buffer diff'ing will go away in a subsequent commit. llvm-svn: 166641
-
- Oct 24, 2012
-
-
David Blaikie authored
llvm-svn: 166625
-
Eli Friedman authored
Don't print scope qualifiers for references to a type defined locally in a function. Patch by Grzegorz Jablonski. llvm-svn: 166617
-
Douglas Gregor authored
-include'd files, etc. llvm-svn: 166614
-
Douglas Gregor authored
llvm-svn: 166599
-
Douglas Gregor authored
reference-counted. llvm-svn: 166587
-
Douglas Gregor authored
llvm-svn: 166586
-
Douglas Gregor authored
reference-counted, and hold a reference to it in HeaderSearch. llvm-svn: 166583
-