- Oct 14, 2009
-
-
Devang Patel authored
llvm-svn: 84114
-
Chris Lattner authored
1) -fwritable-string does affect the non-utf16 version of cfstrings just not the utf16 ones. 2) utf16 strings should always be marked constant, as the __TEXT segment is readonly. 3) The name of the global doesn't matter, remove it from TargetInfo. 4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now. This fixes rdar://7115750 llvm-svn: 84077
-
Chris Lattner authored
llvm-svn: 84075
-
Devang Patel authored
llvm-svn: 84050
-
- Oct 13, 2009
-
-
Devang Patel authored
llvm-svn: 83979
-
Devang Patel authored
Let replaceAllUsesWith() adjust VHs even though there are no uses. llvm-svn: 83978
-
Benjamin Kramer authored
llvm-svn: 83964
-
- Oct 12, 2009
-
-
Anders Carlsson authored
llvm-svn: 83798
-
- Oct 08, 2009
-
-
Anders Carlsson authored
If a global initializer has a non-trivial constructor or destructor, we never want to defer generation of it, even if it is declared static. With this change we're finally able to compile and run the (infamous) #include <string> #include <iostream> int main(int argc, char **argv) { std::cout << "Hello, World" << std::endl; } $ clang hello.cpp -lstdc++ -o hello $ ./hello Hello, World llvm-svn: 83559
-
- Oct 07, 2009
-
-
Anders Carlsson authored
Add a MangleContext and pass it to all mangle functions. It will be used for keeping state, such as identifiers assigned to anonymous structs as well as scope encoding. llvm-svn: 83442
-
- Oct 06, 2009
-
-
Mike Stump authored
llvm-svn: 83342
-
Mike Stump authored
llvm-svn: 83337
-
- Oct 05, 2009
-
-
Mike Stump authored
llvm-svn: 83328
-
Benjamin Kramer authored
llvm-svn: 83303
-
- Oct 01, 2009
-
-
John McCall authored
apparently because using directives aren't quite working correctly. llvm-svn: 83184
-
- Sep 23, 2009
-
-
Anders Carlsson authored
llvm-svn: 82644
-
- Sep 22, 2009
-
-
Daniel Dunbar authored
Revert "Switch a few clients over to StringLiteral::getString.", this is breaking some projects, but I don't have a test case yet. llvm-svn: 82539
-
Daniel Dunbar authored
- Switching all of them out-of-my-current-scope-of-interest, sorry. llvm-svn: 82515
-
John McCall authored
Several of the existing methods were identical to their respective specializations, and so have been removed entirely. Several more 'leaf' optimizations were introduced. The getAsFoo() methods which imposed extra conditions, like getAsObjCInterfacePointerType(), have been left in place. llvm-svn: 82501
-
- Sep 14, 2009
-
-
Daniel Dunbar authored
The decl wasn't being passed down, which meant that function attributes were not being set correctly. This is particularly important for ARM, since it wants to override the calling convention. Instead we would emit the builtin with the wrong calling convention, and instcombine would come along and merrily shred all the calls to it. :) llvm-svn: 81756
-
- Sep 13, 2009
-
-
Douglas Gregor authored
generated for an inline function definition, taking into account C99 and GNU inline/extern inline semantics. This solution is simpler, cleaner, and fixes PR4536. llvm-svn: 81670
-
- Sep 12, 2009
-
-
Daniel Dunbar authored
to use, and allow the ABI implementation to override the calling convention. llvm-svn: 81593
-
Douglas Gregor authored
llvm-svn: 81589
-
Daniel Dunbar authored
llvm-svn: 81582
-
- Sep 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 81481
-
Anders Carlsson authored
llvm-svn: 81480
-
- Sep 09, 2009
-
-
Mike Stump authored
llvm-svn: 81346
-
- Sep 05, 2009
-
-
Douglas Gregor authored
templates. We now distinguish between an explicit instantiation declaration and an explicit instantiation definition, and know not to instantiate explicit instantiation declarations. Unfortunately, there is some remaining confusion w.r.t. instantiation of out-of-line member function definitions that causes trouble here. llvm-svn: 81053
-
- Sep 04, 2009
-
-
Douglas Gregor authored
Now that parsing, semantic analysis, and (I think) code generation of pseudo-destructor expressions and explicit destructor calls works, update the example-dynarray.cpp test to destroy the objects it allocates and update the test to actually compile + link. The code seems correct, but the Clang-compiled version dies with a malloc error. Time to debug! llvm-svn: 81025
-
- Sep 03, 2009
-
-
Douglas Gregor authored
llvm-svn: 80853
-
- Aug 27, 2009
-
-
Mike Stump authored
llvm-svn: 80163
-
- Aug 25, 2009
-
-
Anders Carlsson authored
llvm-svn: 79985
-
- Aug 16, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 79199
-
Anders Carlsson authored
No need to append extra padding now that we don't create packed structs for simple cases like the constant string. llvm-svn: 79178
-
- Aug 14, 2009
-
-
Fariborz Jahanian authored
Fixed a bug when evaluating those copy-assignments which need by lazily syntheized. A test case for these. llvm-svn: 78965
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78946
-
Fariborz Jahanian authored
function in the order according to c++03. ir-gen for copy assignment in the trivial case and the first test case. llvm-svn: 78938
-
- Aug 12, 2009
-
-
Fariborz Jahanian authored
WIP. llvm-svn: 78841
-
- Aug 11, 2009
-
-
Fariborz Jahanian authored
copying in copy constructors and used in default constructor's initializer list. llvm-svn: 78700
-
Fariborz Jahanian authored
bunch of FIXMEs for their is-gen. llvm-svn: 78623
-