- Sep 19, 2013
-
-
Andrew Trick authored
llvm-svn: 190973
-
Eli Friedman authored
This patch adds the following, more specific warning flags: gnu-anonymous-struct gnu-compound-literal-initializer gnu-empty-struct gnu-flexible-array-initializer gnu-flexible-array-union-member gnu-folding-constant redeclared-class-member gnu-redeclared-enum gnu-union-cast gnu-variable-sized-type-not-at-end Patch by Peter Lewis. llvm-svn: 190972
-
Eli Friedman authored
Patch by Eelis van der Weegen. llvm-svn: 190971
-
Richard Smith authored
defined with no initializer. llvm-svn: 190970
-
Adrian Prantl authored
llvm-svn: 190969
-
Sean Callanan authored
have a type. It does warn, though. llvm-svn: 190968
-
Adrian Prantl authored
llvm-svn: 190967
-
Reed Kotler authored
1) make sure that the first two instructions of the sequence cannot separate from each other. The linker requires that they be sequential. If they get separated, it can still work but it will not work in all cases because the first of the instructions mostly involves the hi part of the pc relative offset and that part changes slowly. You would have to be at the right boundary for this to matter. 2) make sure that this sequence begins on a longword boundary. There appears to be a bug in binutils which makes some of these calculations get messed up if the instruction sequence does not begin on a longword boundary. This is being investigated with the appropriate binutils folks. llvm-svn: 190966
-
Eric Christopher authored
llvm-svn: 190965
-
Hans Wennborg authored
I put in the warnings because MSVC has them, but I don't think they're very useful. Clang does not warn about overriding flags in general, e.g. it's perfectly fine to have -fomit-frame-pointer followed by -fno-omit-frame-pointer. We should focus on warning where things get confusing, such as with the /TP and /TC options. In "clang-cl /TC a.c /TP b.cc", the user might not realize that the /TP flag will apply to both files, and we warn about that. Differential Revision: http://llvm-reviews.chandlerc.com/D1718 llvm-svn: 190964
-
Eric Christopher authored
llvm-svn: 190963
-
Adrian Prantl authored
llvm-svn: 190962
-
Adrian Prantl authored
Use the DIVariable::isIndirect() flag set by the frontend instead of guessing whether to set the machine location's indirection bit. Paired commit with CFE. llvm-svn: 190961
-
Adrian Prantl authored
This allows us to get rid of an ugly hack in the backend. Paired commit with LLVM. llvm-svn: 190960
-
- Sep 18, 2013
-
-
Richard Smith authored
llvm-svn: 190959
-
Preston Gurd authored
-march=x86 to SLM test. llvm-svn: 190958
-
Preston Gurd authored
Atom Silvermont. Patch by Sriram Murali. llvm-svn: 190957
-
Fariborz Jahanian authored
'instancetype' for known family of methods with related result type; such as 'init' methods. // rdar://14987948 llvm-svn: 190956
-
Greg Clayton authored
Fixed a logic error in Module::ResolveSymbolContextForAddress(). Asking an address if its offet is greater than zero doesn't actually correctly tell us wether the address is section offset or not. A symbol could be the first symbol in a section and its offset can be zero. Also, a non-section offset lldb_private::Address can have a NULL section and calling GetOffset() will return the absolute address. To really test if an address is section offset clients should use Address::IsSectionOffset(). Also simplified the code that backs the address up by one to use the Address::Slide() function. llvm-svn: 190955
-
Ed Maste authored
llvm-svn: 190954
-
Jordan Rose authored
We now have symbols with floating-point type to make sure that (double)x == (double)x comes out true, but we still can't do much with these. For now, don't even bother trying to create a floating-point zero value; just give up on conversion to bool. PR14634, C++ edition. llvm-svn: 190953
-
Galina Kistanova authored
llvm-svn: 190952
-
Rui Ueyama authored
Base relocation block should be aligned on a 32-bit boundary. While the PECOFF spec mentions only aligning the blocks, and not padding them, link.exe seems to add an extra IMAGE_REL_I386_ABSOLUTE entry (just a zeroed WORD) in order to pad the blocks. Patch by Ron Ofir. llvm-svn: 190951
-
John Thompson authored
llvm-svn: 190950
-
Rui Ueyama authored
llvm-svn: 190949
-
Galina Kistanova authored
llvm-svn: 190948
-
Fariborz Jahanian authored
of methods annotated with attributes. // rdar://14987909 llvm-svn: 190947
-
Filip Pizlo authored
advertised - but it does have the caveat that calls to DynamicLibrary::AddSymbol will "reset" if you shutdown llvm and try to come back for seconds. This is a subtle behavior change, but I'm assuming that nobody is affected by it. llvm-svn: 190946
-
Daniel Malea authored
platforms and called in lldb.cpp while it is built only on some, excluding OSX. There is no reason to not build it then by default on all platforms. This fixes build on OSX using llvm configure & make scripts. Patch (2 of 2) by Adam Strzelecki! llvm-svn: 190945
-
Daniel Malea authored
- If it is not defined (empty) everything remain as it was before. Patch (1 of 2) by Adam Strzelecki! llvm-svn: 190944
-
Fariborz Jahanian authored
'deprecated' container before doing the 'instancetype' inference. llvm-svn: 190943
-
Michael Sartain authored
llvm-svn: 190942
-
Chandler Carruth authored
-Wunused-private-field with Clang. llvm-svn: 190941
-
Chandler Carruth authored
llvm-svn: 190940
-
Kostya Serebryany authored
[asan] call __asan_stack_malloc_N only if use-after-return detection is enabled with the run-time option llvm-svn: 190939
-
NAKAMURA Takumi authored
A couple of tests, in llvm/test/Transforms/*/xcore, are XCore-specific. They should be excluded when XCore is not built. llvm-svn: 190938
-
NAKAMURA Takumi authored
llvm-svn: 190937
-
Robert Lytton authored
XCore target: Add XCoreTargetTransformInfo This is where getNumberOfRegisters() resides, which in turn returns the number of vector registers (=0). llvm-svn: 190936
-
Daniel Jasper authored
clang-format's -lines parameter makes this significantly easier. llvm-svn: 190935
-
Andrea Di Biagio authored
llvm-svn: 190934
-