- Jul 25, 2009
-
-
Daniel Dunbar authored
llvm-svn: 77051
-
Daniel Dunbar authored
- The only meat here is in Value.{h,cpp} the rest is essential 'const std::string &' -> 'const Twine &'. llvm-svn: 77048
-
- Jul 23, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76894
-
- Jul 22, 2009
-
-
Owen Anderson authored
llvm-svn: 76702
-
- Jul 20, 2009
-
-
Bill Wendling authored
"private" symbols which the assember shouldn't strip, but which the linker may remove after evaluation. This is mostly useful for Objective-C metadata. This is plumbing, so we don't have a use of it yet. More to come, etc. llvm-svn: 76385
-
- Jul 14, 2009
-
-
Torok Edwin authored
This adds location info for all llvm_unreachable calls (which is a macro now) in !NDEBUG builds. In NDEBUG builds location info and the message is off (it only prints "UREACHABLE executed"). llvm-svn: 75640
-
- Jul 11, 2009
-
-
Torok Edwin authored
Make llvm_unreachable take an optional string, thus moving the cerr<< out of line. LLVM_UNREACHABLE is now a simple wrapper that makes the message go away for NDEBUG builds. llvm-svn: 75379
-
- Jul 08, 2009
-
-
Owen Anderson authored
llvm-svn: 75025
-
Owen Anderson authored
llvm-svn: 74985
-
- Jul 07, 2009
-
-
Owen Anderson authored
llvm-svn: 74948
-
- Jul 02, 2009
-
-
Owen Anderson authored
moment, that I will need to make far-reaching changes. llvm-svn: 74655
-
- Jul 01, 2009
-
-
Owen Anderson authored
llvm-svn: 74640
-
Owen Anderson authored
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
-
- Apr 13, 2009
-
-
Chris Lattner authored
to support C99 inline, GNU extern inline, etc. Related bugzilla's include PR3517, PR3100, & PR2933. Nothing uses this yet, but it appears to work. llvm-svn: 68940
-
- Mar 08, 2009
-
-
Duncan Sands authored
final cleaning. This fixes a bunch of testsuite failures. llvm-svn: 66380
-
- Mar 07, 2009
-
-
Duncan Sands authored
and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
-
- Mar 03, 2009
-
-
Mikhail Glushenkov authored
llvm-svn: 65942
-
Mikhail Glushenkov authored
llvm-svn: 65936
-
- Jan 15, 2009
-
-
Rafael Espindola authored
llvm-svn: 62279
-
- Jan 09, 2009
-
-
Misha Brukman authored
llvm-svn: 61991
-
- Oct 25, 2008
-
-
Dan Gohman authored
actually correspond to what their names suggest. llvm-svn: 58146
-
- Oct 15, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 57595
-
Anton Korobeynikov authored
llvm-svn: 57594
-
- Sep 29, 2008
-
-
Duncan Sands authored
instead of hasWeakLinkage in a bunch of optimization passes. llvm-svn: 56782
-
- Sep 22, 2008
-
-
Oscar Fuentes authored
llvm-svn: 56419
-
- Sep 09, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 56005
-
Anton Korobeynikov authored
llvm-svn: 55997
-
- Jul 14, 2008
-
-
Chris Lattner authored
the second half of link-global-to-func.ll and causes some minor changes in messages. There are two TODOs here. First, this causes a regression in 2008-07-06-AliasWeakDest.ll, which is now failing (so I xfailed it). Anton, I would really appreciate it if you could take a look at this. It should be a matter of adding proper alias support to GetLinkageResult, and was probably already a latent bug that would manifest with globals. The second todo is to reimplement LinkAlias in the same pattern as function and global linking. This should be pretty straight-forward for someone who knows aliases, but isn't a requirement for correctness. llvm-svn: 53548
-
Chris Lattner authored
internal linkage. llvm-svn: 53547
-
Chris Lattner authored
(replacing a function with a global). This is needed when building llvm itself with LTO on darwin, because of the EXPLICIT_SYMBOL hack in lib/system/DynamicLibrary.cpp. Implementation of linking the other way will need to wait for a cleanup of LinkFunctionProtos. llvm-svn: 53546
-
Chris Lattner authored
llvm-svn: 53545
-
- Jul 10, 2008
-
-
Chris Lattner authored
though that would be nice and make sense :). Patch by Nathan Keynes! llvm-svn: 53387
-
- Jul 07, 2008
-
-
Dan Gohman authored
llvm-svn: 53177
-
- Jul 06, 2008
-
-
Anton Korobeynikov authored
having weak or linkonce or common or extweak LLVM linkage. llvm-svn: 53158
-
Anton Korobeynikov authored
llvm-svn: 53156
-
Anton Korobeynikov authored
llvm-svn: 53154
-
- Jun 27, 2008
-
-
Chris Lattner authored
llvm-svn: 52810
-
- Jun 20, 2008
-
-
Chris Lattner authored
types differ. Patch by Nathan Keynes! llvm-svn: 52527
-
- Jun 17, 2008
-
-
Chris Lattner authored
llvm-svn: 52374
-
- Jun 16, 2008
-
-
Chris Lattner authored
llvm-svn: 52364
-