- Feb 05, 2014
-
-
Chandler Carruth authored
I think this was just over-eagerness on my part. The analysis results need to often be non-const because they need to (in some cases at least) be updated by the transformation pass in order to remain correct. It also makes lazy analyses (a common case) needlessly annoying to write in order to make their entire state mutable. llvm-svn: 200881
-
Manman Ren authored
llvm-svn: 200880
-
Enrico Granata authored
An example summary provider for PyObject and the LLDB wrapper PythonObject hierarchy - this would have probably helped track down those refcount bugs.. llvm-svn: 200879
-
Jim Ingham authored
output a bit. llvm-svn: 200878
-
Benjamin Kramer authored
No functionality change. llvm-svn: 200877
-
Alexander Kornienko authored
llvm-svn: 200876
-
Greg Clayton authored
Also emit the "Executing commands" message so it properly only comes out when desired and so it comes out in the right place. <rdar://problem/15992208> llvm-svn: 200875
-
Manman Ren authored
We collect a maximal function count among all functions in the pgo data file. For functions that are hot, we set its InlineHint attribute. For functions that are cold, we set its Cold attribute. We currently treat functions with >= 30% of the maximal function count as hot and functions with <= 1% of the maximal function count are treated as cold. These two numbers are from preliminary tuning on SPEC. This commit should not affect non-PGO builds and should boost performance on instrumentation based PGO. llvm-svn: 200874
-
Sergey Matveev authored
llvm-svn: 200873
-
Sergey Matveev authored
When an unknown ioctl is encountered, try to guess the parameter size from the request id. llvm-svn: 200872
-
Ed Maste authored
llvm-svn: 200871
-
Ed Maste authored
llvm-svn: 200870
-
Reid Kleckner authored
Function references always use $1? like function pointers and never $E? like var decl references. Static methods are mangled like function pointers. llvm-svn: 200869
-
Kaelyn Uhrain authored
Because in C++, "anonymous" doesn't mean "nameless" for records. In other words, RecordDecl::isAnonymousStructOrUnion only returns true if the record lacks a name *and* is not used as the type in an object's declaration. llvm-svn: 200868
-
Ed Maste authored
llvm-svn: 200866
-
Ed Maste authored
It passes basic sanity tests so we might as well enable it. llvm-svn: 200865
-
Marshall Clow authored
llvm-svn: 200864
-
Rafael Espindola authored
llvm-svn: 200863
-
Rafael Espindola authored
Clang itself was not using this. The only way to access it was via llc. llvm-svn: 200862
-
Reid Kleckner authored
llvm-svn: 200861
-
Greg Clayton authored
- empty lines in init files would repeat previous command and cause errors to be displayed - all options to control showing the command, its output, if it should stop on error or continue, weren't being obeyed. llvm-svn: 200860
-
Greg Clayton authored
llvm-svn: 200859
-
Rafael Espindola authored
This reverts commit r200853. It was causing clang/Analysis/checker-plugins.c to crash. llvm-svn: 200858
-
Reid Kleckner authored
Member pointers are mangled as they would be represented at runtime. They can be a single integer literal, single decl, or a tuple with some more numbers tossed in. With Clang today, most of those numbers will be zero because we reject pointers to members of virtual bases. This change required moving VTableContextBase ownership from CodeGenVTables to ASTContext, because mangling now depends on vtable layout. I also hoisted the inheritance model helpers up to be inline static methods of MSInheritanceAttr. This makes the AST code that deals with member pointers much more readable. MSVC doesn't appear to have stable manglings of null member pointers: - Null data memptrs in function templates have a mangling collision with the first field of a non-polymorphic single inheritance class. - The mangling of null data memptrs changes if you add casts. - Large null function memptrs in class templates crash MSVC. Clang uses the class template mangling for null data memptrs and the function template mangling for null function memptrs to deal with this. Reviewers: majnemer Differential Revision: http://llvm-reviews.chandlerc.com/D2695 llvm-svn: 200857
-
Petar Jovanovic authored
This patch adds NaCl target for Mips. It also forbids indexed loads and stores if the target is NaCl. Patch by Sasa Stankovic. Differential Revision: http://llvm-reviews.chandlerc.com/D2690 llvm-svn: 200855
-
Fariborz Jahanian authored
10.5 or less for x86_64 arch. // rdar://15852259 llvm-svn: 200854
-
Alexander Kornienko authored
Summary: The check performed in the comparator is invalid, as some STL implementations enforce strict weak ordering by calling the comparator with the same value. This check was also in a wrong place: the assertion would only fire when -help was used. The new check is performed each time the category is registered (we are not going to have thousands of them, so it's fine to do it in O(N^2)). Reviewers: jordan_rose Reviewed By: jordan_rose CC: cfe-commits, alexmc Differential Revision: http://llvm-reviews.chandlerc.com/D2699 llvm-svn: 200853
-
Petar Jovanovic authored
Small code model (and default reloc model) set Reloc::PIC_ in this test, and PIC is not yet supported in MCJIT for MIPS. llvm-svn: 200852
-
Alexander Kornienko authored
Summary: This sub-matcher makes it possible to access directly the range-based for loop variable: forRangeStmt(hasLoopVariable(anything()).bind(...)). I've tried to re-generate the docs, but the diffs seem to include much more than this change could cause, so I'd better leave docs update to someone who knows the intended changes in the contents better. Reviewers: klimek Reviewed By: klimek CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2702 llvm-svn: 200850
-
Elena Demikhovsky authored
llvm-svn: 200849
-
Joey Gouly authored
llvm-svn: 200845
-
Kostya Serebryany authored
[sanitizer] hide two functions in the __sanitizer namespace to avoid exporting them (gold complained) llvm-svn: 200844
-
Alon Mishne authored
llvm-svn: 200843
-
Logan Chien authored
In Thumb1 mode, bl instruction might be selected for branches between basic blocks in the function if the offset is greater than 2KB. However, this might cause SEGV because the destination symbol is not marked as thumb function and the execution mode will be reset to ARM mode. Since we are sure that these symbols are in the same data fragment, we can simply resolve these local symbols, and don't emit any relocation information for this bl instruction. llvm-svn: 200842
-
Alexander Kornienko authored
llvm-svn: 200841
-
Daniel Jasper authored
It seems like most people see unary operators more like part of the subsequent identifier and find relative indentation odd. Before: aaaaaaaaaa(!aaaaaaaaaa( // break aaaaa)); After: aaaaaaaaaa(!aaaaaaaaaa( // break aaaaa)); llvm-svn: 200840
-
Alexander Kornienko authored
llvm-svn: 200839
-
Dmitry Vyukov authored
llvm-svn: 200838
-
Elena Demikhovsky authored
llvm-svn: 200837
-
Dmitry Vyukov authored
llvm-svn: 200833
-