- Mar 08, 2012
-
-
Anna Zaks authored
The final graph contains a single root node, which is a parent of all externally available functions(and 'main'). As well as a list of Parentless/Unreachable functions, which are either truly unreachable or are unreachable due to our analyses imprecision. The analyzer checkers debug.DumpCallGraph or debug.ViewGraph can be used to look at the produced graph. Currently, the graph is not very precise, for example, it entirely skips edges resulted from ObjC method calls. llvm-svn: 152272
-
Fariborz Jahanian authored
an uninitialized block variable is being called inside the block literal. // rdar://10817031 llvm-svn: 152271
-
Argyrios Kyrtzidis authored
Basically the current design is: -for an implementation method, show as overridden the interface method. This is not useful, and is inconsistent with the C++ side -for an interface method, show as overridden the protocols methods (this is desirable) and the methods from the categories; methods from categories are not useful since they are considered the same method (same USR). -If there is a protocol method or category method reported, it does not check the super class for overridden methods. This is really problematic since overridden methods from super class is what we want to give back. Change clang_getOverriddenCursors to show as overridden any method in the class's base class, its protocols, or its categories' protocols, that has the same selector and is of the same kind (class or instance). If no such method exists, the search continues to the class's superclass, its protocols, and its categories, and so on. A method from an Objective-C implementation is considered to override the same methods as its corresponding method in the interface. rdar://10967206 llvm-svn: 152270
-
Nick Kledzik authored
Add first linker pass (StubsPass) which looks for calls to shared library symbols and replaces them with calls to a StubAtom. On ELF system, a "stub" is a PLT entry. Added a simple test case. Pass a Platform object to YAML reader and writer for converting fixup kinds between names and values. Change output of Resolver to be a File object instead of a vector of Atoms. Thus, passes operate on a File instead of just Atoms. Rework how to walk through a File's Atoms. Now iterator based instead of a method that visits each atom. llvm-svn: 152269
-
Jim Grosbach authored
The ARM code generator makes aggressive assumptions about the encodings being selected for branches which MCRelaxAll invalidates. rdar://11006355 llvm-svn: 152268
-
Greg Clayton authored
Moved inline functions into SBTarget.cpp and made destructors for SBLaunchInfo and SBAttachInfo to avoid link warnings. llvm-svn: 152267
-
Bob Wilson authored
PR12196: The module hash strings are not actually hashing the compiler version string; the entire version string is being included in the hash. Depending on the module cache directory name, that can lead to failures where the path names become too long. As a temporary workaround, just remove the version string from the hash. llvm-svn: 152266
-
Greg Clayton authored
llvm-svn: 152265
-
Sean Callanan authored
code that will be relocated into another memory space. Now when relocations are resolved, the address of the relocation in the host memory (where the JIT is) is passed separately from the address that the relocation will be at in the target memory (where the code will run). llvm-svn: 152264
-
Greg Clayton authored
llvm-svn: 152263
-
Andrew Trick authored
llvm-svn: 152262
-
Andrew Trick authored
implement their own MachineScheduler. llvm-svn: 152261
-
Andrew Trick authored
llvm-svn: 152260
-
Andrew Trick authored
llvm-svn: 152259
-
Andrew Trick authored
ScheduleDAGInstrs will be the main interface for MI-level schedulers. Make sure it's readable: one page of protected fields, one page of public methids. llvm-svn: 152258
-
Andrew Trick authored
llvm-svn: 152257
-
Andrew Trick authored
ScheduleDAGInstrs knows nothing about how instructions will be moved or inserted. llvm-svn: 152256
-
Andrew Trick authored
We had half the API with one convention, half with another. Now was a good time to clean it up. llvm-svn: 152255
-
- Mar 07, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152254
-
rdar://problem/10993996Greg Clayton authored
Added a new makefile target to help us with Apple builds where the installhdrs will copy the headers for the shared library. Prior to this fix, the install headers directory would contain the unix style paths to all public header files ("#include lldb/API/SBDefines.h") instead of the fixed up framework header paths ("#include <LLDB/SBDefines.h>"). llvm-svn: 152253
-
Benjamin Kramer authored
This fixes a build failure in webkit. Copying all elements shouldn't be necessary, I'll look out for a better fix soon. llvm-svn: 152252
-
Sean Callanan authored
treat Objective-C ivar symbols as their own kind of symbol rather than lumping them in with generic "runtime" symbols. llvm-svn: 152251
-
Jim Ingham authored
When comparing a Thread against a ThreadSpec, don't fetch the Thread's Name or QueueName if the ThreadSpec doesn't specify them. llvm-svn: 152245
-
rdar://problem/10997402Greg Clayton authored
This fix really needed to happen as a previous fix I had submitted for calculating symbol sizes made many symbols appear to have zero size since the function that was calculating the symbol size was calling another function that would cause the calculation to happen again. This resulted in some symbols having zero size when they shouldn't. This could then cause infinite stack traces and many other side affects. llvm-svn: 152244
-
Chad Rosier authored
condition flags to CPSR. This allows us to simplify SelectCmp. Patch by Zonr Chang <zonr.xchg@gmail.com>. llvm-svn: 152243
-
Rafael Espindola authored
llvm-svn: 152242
-
Howard Hinnant authored
Change some smart_ptr == 0 to smart_ptr == nullptr. Fixes http://llvm.org/bugs/show_bug.cgi?id=12185. llvm-svn: 152240
-
Richard Trieu authored
llvm-svn: 152239
-
Tobias Grosser authored
llvm-svn: 152238
-
Tobias Grosser authored
llvm-svn: 152237
-
Tobias Grosser authored
llvm-svn: 152236
-
Tobias Grosser authored
llvm-svn: 152235
-
Benjamin Kramer authored
configure: Don't require a perl interpreter to be present, LLVM's buildsystem doesn't depend on perl anymore. llvm-svn: 152234
-
Chad Rosier authored
Original commit message: Use uint16_t to store InstrNameIndices in MCInstrInfo. Add asserts to protect all 16-bit string table offsets. Also make sure the string to offset table string is not larger than 65536 characters since larger string literals aren't portable. llvm-svn: 152233
-
Jakob Stoklund Olesen authored
Patch by Michael Liao! llvm-svn: 152232
-
Sebastian Redl authored
llvm-svn: 152231
-
Tobias Grosser authored
We now just check if the new scattering would create non-positive dependences. This is a lot faster than recalculating dependences (which is especially slow on tiled code). llvm-svn: 152230
-
Tobias Grosser authored
llvm-svn: 152229
-
Chandler Carruth authored
compilers. It seems that GCC 4.3 (and likely older) simply aren't going to do SFINAE on non-type template parameters the way Clang and modern GCCs do... Now we detect the implicit conversion to an integer type, and then blacklist classes, pointers, and floating point types. This seems to work well enough, and I'm hopeful will return the bots to life. llvm-svn: 152227
-
Timur Iskhodzhanov authored
llvm-svn: 152226
-