- Oct 27, 2011
-
-
Owen Anderson authored
If we're searching for a symbol reference to pretty-print a scattered relocation address, and we don't find a symbol table entry, try section begin addresses as well. llvm-svn: 143151
-
Ted Kremenek authored
llvm-svn: 143150
-
Owen Anderson authored
llvm-svn: 143149
-
Daniel Dunbar authored
- This will require you to manually reconfigure the projects/sample project (by running projects/config/sample/config.status --recheck) if you haven't updated/built since the 1st part of this commit went in. llvm-svn: 143148
-
Sean Callanan authored
for it, so that people who want to use LLDB as a calculator can run simple expressions without needing a target or process. llvm-svn: 143147
-
-
Daniel Dunbar authored
llvm-svn: 143143
-
Daniel Dunbar authored
llvm-svn: 143142
-
Daniel Dunbar authored
- Also, cleanup site.exp files in example tests. llvm-svn: 143141
-
Owen Anderson authored
Fix pretty printing of i386 local sect diff relocations, TLV relocations, and x86_64 TLV relocations in MachO. llvm-svn: 143140
-
Fariborz Jahanian authored
property refactoring. // rdar://10327068 llvm-svn: 143139
-
Ted Kremenek authored
Add mutex for accessing ASTUnit's global OnDisk data. This may be an issue as libclang could be processing multiple ASTUnit's at once. llvm-svn: 143138
-
Sean Callanan authored
of reference types. Previously, such variables were materialized as references to those references, which caused undesried behavior in Clang and was useless anyway (the benefit of using references to variables is that it allows expressions to modify variables in place, but for references that's not required). Now we just materialize the references directly, which fixes a variety of expressions that use references. llvm-svn: 143137
-
Peter Collingbourne authored
The OpenCL single precision division operation is only required to be accurate to 2.5ulp. Annotate the fdiv instruction with metadata which signals to the backend that an imprecise divide instruction may be used. llvm-svn: 143136
-
Peter Collingbourne authored
llvm-svn: 143135
-
Peter Collingbourne authored
comments at top of TypeBasedAliasAnalysis.cpp). llvm-svn: 143134
-
Duncan Sands authored
using BinaryOperator (which only works for instructions) when it should have been a cast to OverflowingBinaryOperator (which also works for constants). While there, correct a few other dubious looking uses of BinaryOperator. Thanks to Chad Rosier for the testcase. Original commit message: My super-optimizer noticed that we weren't folding this expression to true: (x *nsw x) sgt 0, where x = (y | 1). This occurs in 464.h264ref. llvm-svn: 143125
-
Argyrios Kyrtzidis authored
of decl bit offsets. This allows us to easily get at the location of a decl without deserializing it. It increases size of Cocoa PCH by only 0.2%. llvm-svn: 143123
-
Johnny Chen authored
llvm-svn: 143121
-
Stepan Dyatkovskiy authored
llvm-svn: 143120
-
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
-