- Jan 09, 2013
-
-
Fariborz Jahanian authored
llvm-svn: 171913
-
Fariborz Jahanian authored
struct variables with flexiable array members in blocks (and lambdas). Issue error instead of crashing in IRGen. // rdar://12655829 llvm-svn: 171912
-
- Jan 08, 2013
-
-
Michael J. Spencer authored
There is no way to test this at the moment because the options are not processed until the link starts, and we can't pass an empty file. llvm-svn: 171910
-
Michael J. Spencer authored
llvm-svn: 171909
-
Richard Smith authored
llvm-svn: 171908
-
Rafael Espindola authored
llvm-svn: 171906
-
Eric Christopher authored
llvm-svn: 171905
-
rdar://problem/12976225Han Ming Ong authored
Checking in the support for doing index ids reservation when given a thread id. llvm-svn: 171904
-
Eli Bendersky authored
method because getContents().size() already covers it. So computeFragmentSize can use the generic MCEncodedFragment interface when querying both Data and Relaxable fragments for contents sizes. No change in functionality llvm-svn: 171903
-
Rafael Espindola authored
llvm-svn: 171902
-
rdar://problem/12586010Greg Clayton authored
Python OS plug-ins now fetch thread registers lazily. Also changed SBCommandInterpreter::HandleCommand() to not take the API lock. The logic here is that from the command line you can execute a command that might result in another thread (like the private process thread) to execute python or run any code that can re-enter the public API. When this happens, a deadlock immediately occurs for things like "process launch" and "process attach". llvm-svn: 171901
-
Greg Clayton authored
llvm-svn: 171900
-
Rafael Espindola authored
llvm-svn: 171899
-
Nick Kledzik authored
llvm-svn: 171898
-
Nick Kledzik authored
llvm-svn: 171897
-
Nick Kledzik authored
Stop using BumpPtrAllocator for HNodes because they have fields (vector, map) which require HNode destructors to be run. llvm-svn: 171896
-
Rafael Espindola authored
llvm-svn: 171895
-
Rafael Espindola authored
llvm-svn: 171894
-
David Blaikie authored
-Wint-to-pointer-cast, added to match GCC's warning by the same name, doesn't need to be in any other groups (as it isn't in any groups in GCC either). Found in post-commit review by Ted Kremenek. llvm-svn: 171893
-
Nico Weber authored
llvm-svn: 171892
-
Anna Zaks authored
With the new setting, we are not going to inline any functions that are more than 50 basic blocks. (The analyzer is 20% faster on several especially bad benchmarks with the new default.) llvm-svn: 171891
-
Daniel Jasper authored
Before: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa(aaaaaaaaaaaaaaaaaaaaaaaaaaaa, * aaaaaaaaaaaaaaaaaaaaaaaaaaaaa); After: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa( aaaaaaaaaaaaaaaaaaaaaaaaaaaa, *aaaaaaaaaaaaaaaaaaaaaaaaaaaaa); llvm-svn: 171890
-
Rafael Espindola authored
Thanks to Dmitri Gribenko for the suggestion. llvm-svn: 171889
-
Rafael Espindola authored
In the source static void f(); static void f(); template<typename T> static void g() { f(); } static void f() { } void h() { g<int>(); } the call to f refers to the second decl, but it is only marked used at the end of the translation unit during instantiation, after the third f decl has been linked in. With this patch we mark all subsequent decls used, so that it is easy to check if a symbol is used or not. llvm-svn: 171888
-
Nico Weber authored
llvm-svn: 171887
-
Tim Northover authored
This avoids FileCheck failing over different comment characters in assembly (notably powerpc64 on Linux vs Darwin) and should fix David's build-bot. llvm-svn: 171886
-
Jordan Rose authored
llvm-svn: 171885
-
Anna Zaks authored
This makes us more optimistic when matching reports in a changing code base. Addresses Jordan's feedback for r171825. llvm-svn: 171884
-
Nico Weber authored
llvm-svn: 171883
-
Jack Carter authored
an R_MIPS_GPREL16 relocation. Contributer: Jack Carter llvm-svn: 171882
-
Jack Carter authored
value in the 64 bit .eh_frame section. It doesn't however allow exception handling to work yet since it depends on the correct relocation model being set in the ELF header flags. Contributer: Jack Carter llvm-svn: 171881
-
Preston Gurd authored
The current Intel Atom microarchitecture has a feature whereby when a function returns early then it is slightly faster to execute a sequence of NOP instructions to wait until the return address is ready, as opposed to simply stalling on the ret instruction until the return address is ready. When compiling for X86 Atom only, this patch will run a pass, called "X86PadShortFunction" which will add NOP instructions where less than four cycles elapse between function entry and return. It includes tests. This patch has been updated to address Nadav's review comments - Optimize only at >= O1 and don't do optimization if -Os is set - Stores MachineBasicBlock* instead of BBNum - Uses DenseMap instead of std::map - Fixes placement of braces Patch by Andy Zhang. llvm-svn: 171879
-
Argyrios Kyrtzidis authored
before doing the comparison. This is because we can't set "FirstInDeclGroup" consistently; for example, when visiting a DeclStmt we will set it but we don't set it on the result of clang_getCursorDefinition for a reference of the same declaration. llvm-svn: 171878
-
Douglas Gregor authored
attribute when determining whether we need to see an implementation of a property. Fixes <rdar://problem/12958191>. llvm-svn: 171877
-
Nico Weber authored
llvm-svn: 171875
-
Nadav Rotem authored
llvm-svn: 171873
-
Eli Bendersky authored
llvm-svn: 171872
-
Nadav Rotem authored
Code cleanup: refactor the switch statements in the generation of reduction variables into an IR builder call. llvm-svn: 171871
-
Ted Kremenek authored
llvm-svn: 171870
-
Matt Kopec authored
llvm-svn: 171869
-