- Oct 27, 2011
-
-
Johnny Chen authored
watchpoint creation output due to wrong debug info from clang. It has been fixed. llvm-svn: 143118
-
Benjamin Kramer authored
llvm-svn: 143117
-
Pete Cooper authored
llvm-svn: 143116
-
Ted Kremenek authored
Move ASTUnit's handling of temporary files and the preamble file into a lazily-created static DenseMap. This DenseMap is cleared (and the files erased) via an atexit routine in the case an ASTUnit is not destroyed. Fixes <rdar://problem/10293367>. llvm-svn: 143115
-
Greg Clayton authored
in the same hashed format as the ".apple_names", but they map objective C class names to all of the methods and class functions. We need to do this because in the DWARF the methods for Objective C are never contained in the class definition, they are scattered about at the translation unit level and they don't even have attributes that say the are contained within the class itself. Added 3 new formats which can be used to display data: eFormatAddressInfo eFormatHexFloat eFormatInstruction eFormatAddressInfo describes an address such as function+offset and file+line, or symbol + offset, or constant data (c string, 2, 4, 8, or 16 byte constants). The format character for this is "A", the long format is "address". eFormatHexFloat will print out the hex float format that compilers tend to use. The format character for this is "X", the long format is "hex float". eFormatInstruction will print out disassembly with bytes and it will use the current target's architecture. The format character for this is "i" (which used to be being used for the integer format, but the integer format also has "d", so we gave the "i" format to disassembly), the long format is "instruction". Mate the lldb::FormatterChoiceCriterion enumeration private as it should have been from the start. It is very specialized and doesn't belong in the public API. llvm-svn: 143114
-
Jim Grosbach authored
llvm-svn: 143113
-
Kevin Enderby authored
not depend on In32BitMode. Use the sysexitq mnemonic for the version with the REX.W prefix and only allow it only In64BitMode. rdar://9738584 llvm-svn: 143112
-
Argyrios Kyrtzidis authored
llvm-svn: 143111
-
Jim Grosbach authored
rdar://10348844 llvm-svn: 143110
-
Owen Anderson authored
llvm-svn: 143109
-
Jim Grosbach authored
rdar://10348584 llvm-svn: 143108
-
Owen Anderson authored
llvm-svn: 143107
-
Benjamin Kramer authored
This trades one 64 bit div for one 64 bit mul and some arithmetic. llvm-svn: 143106
-
Howard Hinnant authored
llvm-svn: 143105
-
Howard Hinnant authored
llvm-svn: 143104
-
Bob Wilson authored
behind a compile failure on 483.xalancbmk. llvm-svn: 143102
-
Benjamin Kramer authored
llvm-svn: 143101
-
Douglas Gregor authored
AST file more lazy, so that we don't eagerly load that information for all known identifiers each time a new AST file is loaded. The eager reloading made some sense in the context of precompiled headers, since very few identifiers were defined before PCH load time. With modules, however, a huge amount of code can get parsed before we see an @import, so laziness becomes important here. The approach taken to make this information lazy is fairly simple: when we load a new AST file, we mark all of the existing identifiers as being out-of-date. Whenever we want to access information that may come from an AST (e.g., whether the identifier has a macro definition, or what top-level declarations have that name), we check the out-of-date bit and, if it's set, ask the AST reader to update the IdentifierInfo from the AST files. The update is a merge, and we now take care to merge declarations before/after imports with declarations from multiple imports. The results of this optimization are fairly dramatic. On a small application that brings in 14 non-trivial modules, this takes modules from being > 3x slower than a "perfect" PCH file down to 30% slower for a full rebuild. A partial rebuild (where the PCH file or modules can be re-used) is down to 7% slower. Making the PCH file just a little imperfect (e.g., adding two smallish modules used by a bunch of .m files that aren't in the PCH file) tips the scales in favor of the modules approach, with 24% faster partial rebuilds. This is just a first step; the lazy scheme could possibly be improved by adding versioning, so we don't search into modules we already searched. Moreover, we'll need similar lazy schemes for all of the other lookup data structures, such as DeclContexts. llvm-svn: 143100
-
Hans Wennborg authored
The code had it backwards, thinking size_t was signed, and using that for "%zd". Also let the analysis get the types for (u)intmax_t while we are at it. llvm-svn: 143099
-
Nick Lewycky authored
from r143097. llvm-svn: 143098
-
Nick Lewycky authored
llvm-svn: 143097
-
Sean Callanan authored
be found in namespaces. llvm-svn: 143096
-
Eli Friedman authored
llvm-svn: 143095
-
Sean Callanan authored
the compiler should pick this type up automatically. llvm-svn: 143094
-
Eli Friedman authored
It is not safe to sink an alloca into a stacksave/stackrestore pair, so don't do that. <rdar://problem/10352360> llvm-svn: 143093
-
Greg Clayton authored
llvm-svn: 143092
-
Anna Zaks authored
Go not generate a new transition by addTransition methods if nothing changed. llvm-svn: 143091
-
Anna Zaks authored
llvm-svn: 143090
-
Anna Zaks authored
Enqueue the nodes generated as the result of processing a statement inside the Core Engine. This makes sure ExpEngine does not access CoreEngine's private members and is more concise. llvm-svn: 143089
-
Argyrios Kyrtzidis authored
llvm-svn: 143088
-
Johnny Chen authored
llvm-svn: 143087
-
Chad Rosier authored
llvm-svn: 143086
-
-
Argyrios Kyrtzidis authored
llvm-svn: 143084
-
Sean Callanan authored
functions in the Objective-C language runtime that is set to the selector that is being passed to the object. llvm-svn: 143083
-
Fariborz Jahanian authored
decl. in Darwin due to certain projects requirement. // rdar://10277579 llvm-svn: 143082
-
Lang Hames authored
llvm-svn: 143080
-
Chad Rosier authored
up. Thus, improving the support for compares is goodness because it increases the number of terminator instructions we can handle. This creates many more opportunities for target specific fast-isel. llvm-svn: 143079
-
Chad Rosier authored
place. No functional change intended. llvm-svn: 143078
-
Douglas Gregor authored
llvm-svn: 143077
-