- Oct 19, 2010
-
-
Rafael Espindola authored
llvm-svn: 116788
-
- Oct 06, 2010
-
-
Bill Wendling authored
llvm-svn: 115827
-
Bill Wendling authored
fix is trying to accomplish. This code could still use some polishing. llvm-svn: 115759
-
Bill Wendling authored
source module *and* it must be merged (instead of simply replaced or appended to), then merge instead of replacing or adding another global. The ObjC __image_info section was being appended to because of this failure. This caused a crash because the linker expects the image info section to be a specific size. <rdar://problem/8198537> llvm-svn: 115753
-
- Sep 01, 2010
-
-
Chris Lattner authored
llvm-svn: 112713
-
- Aug 26, 2010
-
-
Dan Gohman authored
fix: add a flag to MapValue and friends which indicates whether any module-level mappings are being made. In the common case of inlining, no module-level mappings are needed, so MapValue doesn't need to examine non-function-local metadata, which can be very expensive in the case of a large module with really deep metadata (e.g. a large C++ program compiled with -g). This flag is a little awkward; perhaps eventually it can be moved into the ClonedCodeInfo class. llvm-svn: 112190
-
Daniel Dunbar authored
individual ...", which depends on r111922, which I am reverting. llvm-svn: 112157
-
- Aug 25, 2010
-
-
Dan Gohman authored
instructions, not when remapping modules. llvm-svn: 112091
-
- Aug 24, 2010
-
-
Bill Wendling authored
- Support the LinkerWeak*Linkage types in llvm-nm and in LinkModules.cpp. llvm-svn: 111952
-
Dan Gohman authored
which reference GlobalValues are properly remapped. llvm-svn: 111949
-
Dan Gohman authored
llvm-svn: 111948
-
Dan Gohman authored
which does the same thing. This eliminates redundant code and handles MDNodes better. MDNode linking still doesn't fully work yet though. llvm-svn: 111941
-
Dan Gohman authored
llvm-svn: 111933
-
- Aug 15, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 111102
-
- Aug 14, 2010
-
-
Argyrios Kyrtzidis authored
llvm-svn: 111082
-
- Jul 22, 2010
-
-
Dan Gohman authored
for creating and populating NamedMDNodes. llvm-svn: 109061
-
- Jun 30, 2010
-
-
Bill Wendling authored
llvm-svn: 107215
-
- Jun 29, 2010
-
-
Bill Wendling authored
metadata types which should be marked as "weak", but which the linker will remove upon final linkage. For example, the "objc_msgSend_fixup_alloc" symbol is defined like this: .globl l_objc_msgSend_fixup_alloc .weak_definition l_objc_msgSend_fixup_alloc .section __DATA, __objc_msgrefs, coalesced .align 3 l_objc_msgSend_fixup_alloc: .quad _objc_msgSend_fixup .quad L_OBJC_METH_VAR_NAME_1 This is different from the "linker_private" linkage type, because it can't have the metadata defined with ".weak_definition". llvm-svn: 107205
-
- Feb 16, 2010
-
-
Duncan Sands authored
methods to try to have the type predicates be more logically positioned. llvm-svn: 96349
-
- Feb 06, 2010
-
-
Victor Hernandez authored
llvm-svn: 95468
-
- Jan 27, 2010
-
-
Victor Hernandez authored
Need to recurse for all operands of function-local metadata; and handle Instructions (which map to themselves) llvm-svn: 94691
-
Chris Lattner authored
llvm-svn: 94650
-
Victor Hernandez authored
llvm-svn: 94632
-
- Jan 22, 2010
-
-
Devang Patel authored
llvm-svn: 94243
-
- Jan 09, 2010
-
-
David Chisnall authored
Fixed linking of modules containing aliases to constant bitcasts. Existing behaviour first tried to replace the aliases with the global that they aliased (rather than the bitcast), causing a crash on an assert because the types didn't match. When this was fixed, it then did the same thing creating the new alias (creating an alias with a different type to its aliasee). Linking modules containing aliases to GEPs is still not quite right. GEPs that are equivalent to bitcasts will be replaced by bitcasts, GEPs that are not will just break. Aliases to GEPs that are not equivalent to bitcasts are horribly broken anyway (it might be worth adding an assert when creating the alias to prevent these being created; they just cause problems later). llvm-svn: 93052
-
- Jan 05, 2010
-
-
David Greene authored
llvm-svn: 92628
-
- Dec 31, 2009
-
-
Chris Lattner authored
things that occur in types. "operands" are things that occur in values. llvm-svn: 92322
-
- Dec 28, 2009
-
-
Bill Wendling authored
llvm-svn: 92192
-
- Nov 01, 2009
-
-
Chris Lattner authored
llvm-svn: 85700
-
- Sep 13, 2009
-
-
Dan Gohman authored
llvm-svn: 81636
-
- Sep 03, 2009
-
-
Devang Patel authored
llvm-svn: 80941
-
- Aug 24, 2009
-
-
Chris Lattner authored
forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
-
- Aug 23, 2009
-
-
Chris Lattner authored
This required converting a bunch of stuff off DOUT and other cleanups. llvm-svn: 79819
-
- Aug 11, 2009
-
-
Devang Patel authored
llvm-svn: 78696
-
Devang Patel authored
llvm-svn: 78652
-
- Jul 31, 2009
-
-
Owen Anderson authored
metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
-
- Jul 30, 2009
-
-
Owen Anderson authored
llvm-svn: 77516
-
- Jul 29, 2009
-
-
Benjamin Kramer authored
llvm-svn: 77495
-
Owen Anderson authored
llvm-svn: 77494
-
- Jul 28, 2009
-
-
Owen Anderson authored
llvm-svn: 77366
-