- Nov 15, 2013
-
-
Chandler Carruth authored
AaronBallman. Thanks for the excellent review. llvm-svn: 194857
-
Chandler Carruth authored
pulling them under 80-columns. No functionality changed. llvm-svn: 194856
-
Ed Maste authored
The failure to demangle 'anonymous namespace' on FreeBSD is fixed (twice) - the failure in FreeBSD's in-tree __cxa_demangle has been addressed - FreeBSD now uses the copy of the demangler built into lldb, due to other remaining limitations in the in-tree __cxa_demangle llvm.org/pr15302 llvm-svn: 194855
-
Chad Rosier authored
llvm-svn: 194854
-
Chad Rosier authored
rather than the vector equivalent. llvm-svn: 194853
-
Rui Ueyama authored
Summary: Make identify_magic to recognize COFF import file. Reviewers: Bigcheese CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2165 llvm-svn: 194852
-
Rui Ueyama authored
llvm-svn: 194851
-
Richard Smith authored
llvm-svn: 194850
-
Richard Smith authored
llvm-svn: 194849
-
Adrian Prantl authored
llvm-svn: 194848
-
Rui Ueyama authored
llvm-svn: 194847
-
Manman Ren authored
We used to use std::map<IndicesVector, LoadInst*> for OriginalLoads, and when we try to promote two arguments, they will both write to OriginalLoads causing created loads for the two arguments to have the same original load. And the same tbaa tag and alignment will be put to the created loads for the two arguments. The fix is to use std::map<std::pair<Argument*, IndicesVector>, LoadInst*> for OriginalLoads, so each Argument will write to different parts of the map. PR17906 llvm-svn: 194846
-
Alp Toker authored
Trying to fix test failures since earlier today. One of the tests added in this commit is outputting test/Driver/clang_f_opts.s which the builders that build in-tree (eg. clang-native-arm-cortex-a9) are trying to run as a test case, causing failures. clang_f_opts.c: If -### doesn't emit the warning then this test probably shouldn't be in here in the first place. Frontend maybe? invalid-o-level.c: Running %clang_cc1 in the Driver tests doesn't make sense because -cc1 bypasses the driver. (I'm not reverting the commit that introduced this but please fix instead of keeping it this way.) Reverting to fix the build failures and also so that the tests can be thought out more thoroughly. This reverts commit r194817. llvm-svn: 194845
-
Rui Ueyama authored
0xffff does not mean that there are 65535 sections in a COFF file but indicates that it's a COFF import library. This patch fixes SEGV error when an import library file is passed to llvm-readobj. llvm-svn: 194844
-
Adrian Prantl authored
If getDIE() fails, getOrCreateContextDIE() should also return the CUDie. llvm-svn: 194843
-
Ed Maste authored
This was a FreeBSD kernel issue, now fixed. llvm-svn: 194842
-
Bob Wilson authored
This header has not been supported at all for the last 2 major OS X releases. Removed its include and the capture of related symbols. <rdar://problem/15303348> llvm-svn: 194841
-
Bob Wilson authored
Stop folding constant adds into GEP when the type size doesn't match. Otherwise, the adds' operands are effectively being promoted, changing the conditions of an overflow. Results are different when: sext(a) + sext(b) != sext(a + b) Problem originally found on x86-64, but also fixed issues with ARM and PPC, which used similar code. <rdar://problem/15292280> Patch by Duncan Exon Smith! llvm-svn: 194840
-
Justin Bogner authored
llvm-svn: 194838
-
Hans Wennborg authored
Even if we don't support a flag, we should be able to parse it to provide a better error message than the current default "error: no such file or directory: '/foo'" (which we should probably also tweak, btw). This also tries to clean up the test file a bit. llvm-svn: 194837
-
Tom Stellard authored
This fixes a crash with GNOME settings manager. llvm-svn: 194836
-
Alp Toker authored
llvm-svn: 194835
-
Justin Bogner authored
Up until now we were expecting that when libc++ is installed alongside clang the headers would be in lib/, which was true if the configure build was used and false if the cmake build was. We've now corrected the configure build to install in include/, and with this change we'll be able to find the correct headers with both build systems. llvm-svn: 194834
-
Justin Bogner authored
When using the configure build system, the libc++ headers were being installed in lib/, whereas cmake installs them in include/. Since include/ makes more sense for headers, we'll make both systems install headers there. llvm-svn: 194833
-
Andrew Kaylor authored
Patch by James Lyon! llvm-svn: 194832
-
Andrew Kaylor authored
Patch by Dale Martin! llvm-svn: 194831
-
Fariborz Jahanian authored
ivar when property belongs to a super class and currnt class happens to have a method with same name as property. // rdar//15473432 llvm-svn: 194830
-
Chad Rosier authored
llvm-svn: 194829
-
Chad Rosier authored
llvm-svn: 194828
-
Hans Wennborg authored
Instead of storing the vtable offset directly in the function pointer and doing a branch to check for virtualness at each call site, the MS ABI generates a thunk for calling the function at a specific vtable offset, and puts that in the function pointer. This patch adds support for emitting such thunks. However, it doesn't support pointers to virtual member functions that are variadic, have an incomplete aggregate return type or parameter, or are overriding a function in a virtual base class. Differential Revision: http://llvm-reviews.chandlerc.com/D2104 llvm-svn: 194827
-
Daniel Sanders authored
Now that FileCheck supports multiple check prefixes, we don't need to keep the little and big endian versions of this test separate anymore. Merge them back together. llvm-svn: 194826
-
Howard Hinnant authored
easier to use freshly-built clang with freshly-built libc++. Basically, this makes it possible to run clang with libc++ without having to install it, even if you don't have any version of libc++ installed in /usr/ llvm-svn: 194825
-
Cameron McInally authored
llvm-svn: 194824
-
Dmitry Vyukov authored
llvm-svn: 194823
-
Alexander Potapenko authored
llvm-svn: 194822
-
Justin Holewinski authored
llvm-svn: 194821
-
Alexander Potapenko authored
Add a test. llvm-svn: 194820
-
Daniel Sanders authored
[mips][msa] lowerMSABitClear() should use SelectionDAG::getNOT() instead of using a long-winded equivalent. Now that getConstant(-1, MVT::v2i64) works correctly on MIPS32 we can use SelectionDAG::getNOT() to produce the bitmask. llvm-svn: 194819
-
Alexey Samsonov authored
llvm-svn: 194818
-
Sylvestre Ledru authored
Summary: Currently with clang: $ clang -O20 foo.c error: invalid value '20' in '-O20' With the patch: $ clang -O20 foo.c warning: optimization level '-O20' is unsupported; using '-O3' instead. 1 warning generated. This matches the gcc behavior (with a warning added) Pass all tests: Testing: 0 .. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. Testing Time: 94.14s Expected Passes : 6721 Expected Failures : 20 Unsupported Tests : 17 (which was not the case of http://llvm-reviews.chandlerc.com/D2125) Reviewers: chandlerc, rafael, rengolin, hfinkel Reviewed By: rengolin CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D2152 llvm-svn: 194817
-