- Nov 18, 2013
-
-
Aaron Ballman authored
Checking for a return value with FormatMessage; if the call fails, there's no guarantee that the buffer will be non-null. llvm-svn: 195019
-
Aaron Ballman authored
llvm-svn: 195018
-
Benjamin Kramer authored
llvm-svn: 195017
-
Alexander Kornienko authored
Fixes http://llvm.org/PR16221, http://llvm.org/PR15927 Phabricator: http://llvm-reviews.chandlerc.com/D1236 Patch by Andrew Tulloch! llvm-svn: 195016
-
Alexey Samsonov authored
llvm-svn: 195015
-
Alexey Samsonov authored
[ASan] Fix PR17867 - make sure ASan doesn't crash if use-after-scope and use-after-return are combined. llvm-svn: 195014
-
Samuel Benzaquen authored
Summary: Add partial support for the hasDeclaration() matcher in the dynamic layer. This matcher has some special logic to allow any type that has a getDecl() method. We do not support this right now. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1889 llvm-svn: 195013
-
Kostya Serebryany authored
llvm-svn: 195012
-
Kostya Serebryany authored
llvm-svn: 195011
-
NAKAMURA Takumi authored
llvm-svn: 195010
-
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) Differential Revision: http://llvm-reviews.chandlerc.com/D2212 llvm-svn: 195009
-
Arnold Schwaighofer authored
In some case the loop exit count computation can overflow. Extend the type to prevent most of those cases. The problem is loops like: int main () { int a = 1; char b = 0; lbl: a &= 4; b--; if (b) goto lbl; return a; } The backedge count is 255. The induction variable type is i8. If we add one to 255 to get the exit count we overflow to zero. To work around this issue we extend the type of the induction variable to i32 in the case of i8 and i16. PR17532 llvm-svn: 195008
-
Daniel Sanders authored
Fixed an inappropriate use of BuildPairF64 when compiling for MIPS32 with FP64 which resulted in an impossible constraint on the register allocation. It now uses BuildPairF64_64. llvm-svn: 195007
-
Matheus Almeida authored
Note that there's no hardware yet that relies on that encoding. llvm-svn: 195006
-
NAKAMURA Takumi authored
Line 559: 'long long' is a C++11 extension Line 566: 'long long' is a C++11 extension Line 674: 'long long' is a C++11 extension See also PR13819. llvm-svn: 195005
-
Matheus Almeida authored
The immediate field should be encoded as "imm - 1" as the CPU always adds one to that field. llvm-svn: 195004
-
Alexey Samsonov authored
llvm-svn: 195003
-
Alexey Samsonov authored
llvm-svn: 195002
-
Daniel Sanders authored
llvm-svn: 195001
-
NAKAMURA Takumi authored
Use ///< after member. llvm-svn: 195000
-
Arnaud A. de Grandmaison authored
libtool sets RPATH to "$ORIGIN/../lib:/the/directory/where/it/was/built/lib" so that a developper can use the built or the installed version seamlessly. Our binary packages should not have this developer friendly tweak, as the users of the binaries will not have the build tree. Beside, in case the development tree is a possibly on an automounted share, this can create very bad user experience : they will incur an automount timeout penalty and will get a very bad feeling of llvm/clang's speed. llvm-svn: 194999
-
Alexey Samsonov authored
llvm-svn: 194998
-
Alexey Samsonov authored
This change is incorrect. If you delete virtual destructor of both a base class and a subclass, then the following code: Base *foo = new Child(); delete foo; will not cause the destructor for members of Child class. As a result, I observe plently of memory leaks. Notable examples I investigated are: ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl. llvm-svn: 194997
-
Kevin Qin authored
Set some unspecified bits of INS/DUP to zero as ARMARM requested. llvm-svn: 194996
-
Kostya Serebryany authored
llvm-svn: 194995
-
Alexey Bataev authored
llvm-svn: 194994
-
Bill Wendling authored
llvm-svn: 194993
-
NAKAMURA Takumi authored
clang/test/Tooling/multi-jobs.cpp: Mark this as XFAIL:msvc for now. It has been failing since r194968. MSVC targeted drivers (*-win32) are incapable of invoking external assembler. llvm-svn: 194992
-
Hao Liu authored
The functions are like: vst1_s8_x2 ... llvm-svn: 194991
-
Hao Liu authored
The functions are like: vst1_s8_x2 ... llvm-svn: 194990
-
Richard Smith authored
llvm-svn: 194989
-
Rui Ueyama authored
llvm-svn: 194988
-
Rui Ueyama authored
The maximum number of references the file with NativeReferenceIvarsV1 can contain is 65534. If a file larger than that is converted to Native format, the conversion will fail without any error message. This caused a subtle bug that the LLD would produce a broken executable only when input files contain too many references. This issue exists since the RoundTripNativeTest is introduced in r193585. Since then, it seems that nobody have linked any program having more than 65534 relocations with the LLD. Otherwise we would have found it earlier. llvm-svn: 194987
-
Manman Ren authored
Debug info verifier is part of the verifier which is a Function Pass. Tot currently tries to pull all reachable debug info MDNodes in each function, which is too time-consuming. The correct fix seems to be separating debug info verification to its own module pass. I will disable the debug info verifier until a correct fix is found. For Bill's testing case, enabling debug info verifier increase compile time from 11s to 11m. llvm-svn: 194986
-
Matt Arsenault authored
llvm-svn: 194985
-
- Nov 17, 2013
-
-
Rafael Espindola authored
llvm-svn: 194984
-
Rafael Espindola authored
llvm-svn: 194983
-
Rui Ueyama authored
llvm-svn: 194982
-
David Blaikie authored
llvm-svn: 194981
-
David Blaikie authored
llvm-svn: 194980
-