- Sep 17, 2010
-
-
John McCall authored
the bases are completely initialized. This won't work --- base initializer expressions can rely on the vtables having been set up. Check for uses of 'this' in the initializers and force a vtable initialization if found. This might not be good enough; we might need to extend this to handle the possibility of arbitrary code finding an external reference to this (not yet completely-constructed!) object and accessing through it, in which case we'll probably find ourselves doing a lot more unnecessary stores. llvm-svn: 114153
-
Sean Callanan authored
an ASTContext; also added a function to get the Clang-style CVR qualifiers for a type as an unsigned int. llvm-svn: 114152
-
Oscar Fuentes authored
Reorganized it too. llvm-svn: 114151
-
Daniel Dunbar authored
llvm-svn: 114149
-
Dan Gohman authored
so that it detects errors on platforms where libm doesn't set errno. It's still subject to host libm details though. llvm-svn: 114148
-
Daniel Dunbar authored
llvm-svn: 114147
-
Daniel Dunbar authored
the GCC dir. Unfortunately, this breaks -lstdc++ on SnowLeopard, etc. because the libstdc++ dylib was hiding there. Workaround this by providing the path to the right -lstdc++.6 (the only version used in recent memory) if we can't see an obvious -lstdc++, but can find = -lstdc++.6. llvm-svn: 114146
-
John McCall authored
the cleanup might not be dominated by the allocation code. In this case, we have to store aside all the delete arguments in case we need them later. There's room for optimization here in cases where we end up not actually needing the cleanup in different branches (or being able to pop it after the initialization code). Also make sure we only call this operator delete along the path where we actually allocated something. Fixes rdar://problem/8439196. llvm-svn: 114145
-
Daniel Dunbar authored
-lstdc++. This is the best gross solution for a gross problem. This issue is that historically, GCC has add -L options to its internally library directories. This has allowed users and platforms to end up depending on the layout of GCC's internal library directories. We want to correct this mistake by eliminating that -L, but this means that existing libraries which are in the GCC lib dir won't be found. We are going to handle this by treating those -l names as "reserved", and requiring toolchains to know how to add the right full path to the reserved library. The immediately side effect of this is that users trying to use -L to find their own -lstdc++ will need to start using -nostdlib (which is a good idea anyway). Another side effect is that -stdlib=libc++ -lstdc++ will now do the "right" thing, for curious definitions of right. llvm-svn: 114144
-
Oscar Fuentes authored
llvm-svn: 114143
-
-
Dan Gohman authored
because it was using Twine.h's declaration of operator<<(const Twine &). llvm-svn: 114141
-
Bill Wendling authored
llvm-svn: 114140
-
Oscar Fuentes authored
LLVM libraries. llvm-svn: 114139
-
Daniel Dunbar authored
llvm-svn: 114138
-
Daniel Dunbar authored
llvm-svn: 114137
-
Douglas Gregor authored
prototype scope, temporarily set the context of the enumeration declaration to the translation unit. We do the same thing for parameters, until we have an actual function declaration on which to hang them. Fixes <rdar://problem/8435682>. There is more work to do in this area, since we have existing bugs with tags being declared/defined in function parameter lists. This fix is correct, and we'll end up extending it when we deal with those existing bugs. llvm-svn: 114135
-
Johnny Chen authored
(lldb) breakpoint set -S description and a compilation unit defined instance method with: (lldb) breakpoint set -n '-[MyString initWithNSString:]' llvm-svn: 114134
-
Johnny Chen authored
when running test/class_types. llvm-svn: 114132
-
Owen Anderson authored
Allow the PassRegistry mutex to be lazily initialized, and clean up the global namespace at the same time. llvm-svn: 114131
-
Owen Anderson authored
synchronize any method that might lazily initialize the pImpl. llvm-svn: 114130
-
Howard Hinnant authored
llvm-svn: 114129
-
Benjamin Kramer authored
llvm-svn: 114128
-
Dan Gohman authored
llvm-svn: 114126
-
Sean Callanan authored
static. llvm-svn: 114125
-
Sean Callanan authored
Quick fix to AddMethodToCXXRecordType's non-static definition. llvm-svn: 114124
-
Sean Callanan authored
tested, but I'm committing because it's not used anywhere and I want to avoid conflicts. llvm-svn: 114123
-
Dan Gohman authored
llvm-svn: 114121
-
- Sep 16, 2010
-
-
Johnny Chen authored
llvm-svn: 114120
-
Devang Patel authored
If FE forgot to provide a file name (usually it uses "stdin" as name in such situation) then make one up to ensure that debug info is not malformed. llvm-svn: 114119
-
Johnny Chen authored
Modified Makefile.rules to allow for overwriting the ARCH make variable. llvm-svn: 114118
-
Owen Anderson authored
Revert r114097, adding back in the assertion against replacing an Instruction by itself. Now that CorrelatedValuePropagation is more careful not to call SimplifyInstructionsInBlock() on an unreachable block, the issue has been fixed at a higher level. Add a big warning to SimplifyInstructionsInBlock() to hopefully prevent this in the future. llvm-svn: 114117
-
-
Daniel Dunbar authored
them with a smaller alignment than the rest of codegen expects. llvm-svn: 114115
-
Daniel Dunbar authored
reference. llvm-svn: 114114
-
Daniel Dunbar authored
with a non-default-stack-ABI-alignment (of 16). - This fixes the ABI convenient, but breaks codegen since we now have underaligned arguments. Marginal improvement overall though, and will be fixed in next commit. llvm-svn: 114113
-
Daniel Dunbar authored
Darwin. Checked vs the handiest Linux llvm-gcc I had around, someone on Linux is welcome to investigate more. llvm-svn: 114112
-
Sean Callanan authored
for CreateParameterDeclaration. llvm-svn: 114111
-
Sean Callanan authored
ClangASTContext. llvm-svn: 114110
-
Rafael Espindola authored
same order as gnu as. llvm-svn: 114109
-