"llvm/unittests/git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "f04d63a398d61eb36af036f644da34837e203eab"
- Mar 23, 2010
-
-
Anders Carlsson authored
llvm-svn: 99251
-
Anders Carlsson authored
llvm-svn: 99250
-
- Mar 20, 2010
-
-
Daniel Dunbar authored
- So much typing, so little gain... Also, rename the __cxx_global_initialization function just to match llvm-gcc. llvm-svn: 99039
-
John McCall authored
shadowing it in the GlobalDeclMap. Eliminates the string-uniquing requirement for mangled names, which should help C++ codegen times a little. Forces us to do string lookups instead of pointer lookups, which might hurt codegen times a little across the board. We'll see how it plays out. Removing the string-uniquing requirement implicitly fixes any bugs like PR6635 which arose from the fact that we had multiple uniquing tables for different kinds of identifiers. llvm-svn: 99012
-
- Mar 13, 2010
-
-
Douglas Gregor authored
iterations of this patch gave explicit template instantiation link-once ODR linkage, which permitted the back end to eliminate unused symbols. Weak ODR linkage still requires the symbols to be generated. llvm-svn: 98441
-
Douglas Gregor authored
llvm-svn: 98425
-
Douglas Gregor authored
llvm-svn: 98424
-
- Mar 12, 2010
-
-
Douglas Gregor authored
llvm-svn: 98332
-
Douglas Gregor authored
them). Fixes PR6578. llvm-svn: 98328
-
- Mar 10, 2010
-
-
Rafael Espindola authored
This fixes PR6474. llvm-svn: 98123
-
- Mar 06, 2010
-
-
Benjamin Kramer authored
llvm-svn: 97873
-
John McCall authored
and ARM. Implement __builtin_init_dwarf_reg_size_table for i386 (both) and x86-64 (all). llvm-svn: 97859
-
- Mar 04, 2010
-
-
Rafael Espindola authored
Clang's support for weakref is now better than llvm-gcc's :-) We don't introduce a new symbol and we correctly mark undefined references weak only if there is no definition or regular undefined references in the same file. llvm-svn: 97733
-
John McCall authored
Our testing framework can't deal with disabled targets yet. llvm-svn: 97719
-
Fariborz Jahanian authored
ABI conforming. llvm-svn: 97702
-
John McCall authored
some builtins will rely on target knowledge. llvm-svn: 97693
-
- Mar 02, 2010
-
-
Rafael Espindola authored
we need to synthesize has been marked as used by Sema. Change Sema to avoid these asserts. llvm-svn: 97589
-
- Feb 23, 2010
-
-
Rafael Espindola authored
Add support for the weakref attribute. We still produce "alias weak" as llvm-gcc does, but are more strict on what uses of weakref we accept. llvm-svn: 96992
-
John McCall authored
1) emit base destructors as aliases to their unique base class destructors under some careful conditions. This is enabled for the same targets that can support complete-to-base aliases, i.e. not darwin. 2) Emit non-variadic complete constructors for classes with no virtual bases as calls to the base constructor. This is enabled on all targets and in theory can trigger in situations that the alias optimization can't (mostly involving virtual bases, mostly not yet supported). These are bundled together because I didn't think it worthwhile to split them, not because they really need to be. llvm-svn: 96842
-
- Feb 19, 2010
-
-
John McCall authored
command-line option which defaults off. llvm-svn: 96649
-
- Feb 18, 2010
-
-
John McCall authored
some failure here that I can't. llvm-svn: 96612
-
- Feb 17, 2010
-
-
John McCall authored
and destructors when the two entities are semantically identical, i.e. when the class has no virtual base classes. We only do this for linkage types for which aliases are supported, i.e. internal and external, i.e. not linkonce. llvm-svn: 96451
-
- Feb 11, 2010
-
-
Ted Kremenek authored
array allocated using the allocator in ASTContext. This addresses these strings getting leaked when using a BumpPtrAllocator (in ASTContext). Fixes: <rdar://problem/7636765> llvm-svn: 95853
-
- Feb 08, 2010
-
-
John McCall authored
The standard actually says that such references should have internal linkage, but gcc doesn't do that, so we probably can't get away with it. llvm-svn: 95577
-
- Feb 07, 2010
-
-
Anders Carlsson authored
(This is kind of a risky change, but I did a self-host build and everything appears to work fine!) llvm-svn: 95511
-
- Feb 06, 2010
-
-
Douglas Gregor authored
over to VarDecl::isThisDeclarationADefinition(), which handles variables declared with linkage specifications better (among other things). CMake 2.9 (from CVS) now builds with clang++ and is somewhat functional. llvm-svn: 95486
-
Anders Carlsson authored
llvm-svn: 95474
-
- Feb 03, 2010
-
-
Douglas Gregor authored
that is in an anonymous namespace, give that function or variable internal linkage. This change models an oddity of the C++ standard, where names declared in an anonymous namespace have external linkage but, because anonymous namespace are really "uniquely-named" namespaces, the names cannot be referenced from other translation units. That means that they have external linkage for semantic analysis, but the only sensible implementation for code generation is to give them internal linkage. We now model this notion via the UniqueExternalLinkage linkage type. There are several changes here: - Extended NamedDecl::getLinkage() to produce UniqueExternalLinkage when the declaration is in an anonymous namespace. - Added Type::getLinkage() to determine the linkage of a type, which is defined as the minimum linkage of the types (when we're dealing with a compound type that is not a struct/class/union). - Extended NamedDecl::getLinkage() to consider the linkage of the template arguments and template parameters of function template specializations and class template specializations. - Taught code generation to rely on NamedDecl::getLinkage() when determining the linkage of variables and functions, also considering the linkage of the types of those variables and functions (C++ only). Map UniqueExternalLinkage to internal linkage, taking out the explicit checks for isInAnonymousNamespace(). This fixes much of PR5792, which, as discovered by Anders Carlsson, is actually the reason behind the pass-manager assertion that causes the majority of clang-on-clang regression test failures. With this fix, Clang-built-Clang+LLVM passes 88% of its regression tests (up from 67%). The specific numbers are: LLVM: Expected Passes : 4006 Expected Failures : 32 Unsupported Tests : 40 Unexpected Failures: 736 Clang: Expected Passes : 1903 Expected Failures : 14 Unexpected Failures: 75 Overall: Expected Passes : 5909 Expected Failures : 46 Unsupported Tests : 40 Unexpected Failures: 811 Still to do: - Improve testing - Check whether we should allow the presence of types with InternalLinkage (in addition to UniqueExternalLinkage) given variables/functions internal linkage in C++, as mentioned in PR5792. - Determine how expensive the getLinkage() calls are in practice; consider caching the result in NamedDecl. - Assess the feasibility of Chris's idea in comment #1 of PR5792. llvm-svn: 95216
-
- Feb 01, 2010
-
-
Chris Lattner authored
by setting the section of the generated global. This is an optimization done by the code generator, and the code being removed didn't handle the case when the string contained an embedded nul (which the code generator does correctly handle). This is rdar://7589850 llvm-svn: 95003
-
Sebastian Redl authored
In C++, an initializer on a variable doesn't necessarily mean it's the definition. With that in mind, rename getDefinition to getAnyInitializer (to distinguish it from getInit) and reimplement it in terms of isThisDeclarationADefinition. Update all code to use this new function. llvm-svn: 94999
-
- Jan 27, 2010
-
-
Ken Dyck authored
now that the "InBytes" part of the name is implied by the return type, rename it to getDeclAlign(). llvm-svn: 94681
-
- Jan 26, 2010
-
-
Ken Dyck authored
llvm-svn: 94564
-
Anders Carlsson authored
llvm-svn: 94555
-
Ken Dyck authored
of LLVM types in character units. llvm-svn: 94542
-
Anders Carlsson authored
If a global variable has an initializer with side effects, it can never be deferred (even if it's in an anonymous namespace). llvm-svn: 94525
-
- Jan 23, 2010
-
-
David Chisnall authored
Created __builtin___NSStringMakeConstantString() builtin, which generates constant Objective-C strings. llvm-svn: 94274
-
- Jan 10, 2010
-
-
Anton Korobeynikov authored
1. Add helper class for sema checks for target attributes 2. Add helper class for codegen of target attributes As a proof-of-concept - implement msp430's 'interrupt' attribute. llvm-svn: 93118
-
- Jan 09, 2010
-
-
Chris Lattner authored
llvm-svn: 93074
-
- Jan 08, 2010
-
-
Eli Friedman authored
run-time initialization, and emit run-time initializers aggresively to avoid ordering issues with deferred globals. llvm-svn: 92976
-
- Jan 06, 2010
-
-
Douglas Gregor authored
linkage of vtables. Before this, we were emitting RTTI names for template instantiations with strong external linkage rather than with weak ODR linkage. llvm-svn: 92857
-