- Sep 18, 2012
-
-
rdar://problem/11398693Enrico Granata authored
<rdar://problem/11398693> Making sure we do not attempt to run code on zombie objects when attempting to format them llvm-svn: 164156
-
Roman Divacky authored
llvm-svn: 164155
-
Andrew Trick authored
llvm-svn: 164154
-
Andrew Trick authored
llvm-svn: 164153
-
rdar://problem/12219840Greg Clayton authored
Don't leak mach ports when calling "mach_thread_self()". llvm-svn: 164152
-
Enrico Granata authored
llvm-svn: 164151
-
Akira Hatanaka authored
llvm-svn: 164150
-
-
Greg Clayton authored
Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification. llvm-svn: 164148
-
Andrew Trick authored
llvm-svn: 164147
-
Chandler Carruth authored
working on FCA splitting. Instead of refusing to form a common type when there are uses of a subsection of the alloca as well as a use of the entire alloca, just skip the subsection uses and continue looking for a whole-alloca use with a type that we can use. This produces slightly prettier IR I think, and also fixes the other failure in the test. llvm-svn: 164146
-
Fariborz Jahanian authored
llvm-svn: 164145
-
rdar://problem/11988289Enrico Granata authored
<rdar://problem/11988289> Making C++ synthetic children provider for NSDictionary and related classes llvm-svn: 164144
-
Fariborz Jahanian authored
integral expression have the obvious result. Patch reviewed by John McCall off line. // rdar://12202422 llvm-svn: 164143
-
Benjamin Kramer authored
llvm-svn: 164142
-
Roman Divacky authored
Patch by Adhemerval Zanella. llvm-svn: 164141
-
Benjamin Kramer authored
SROA: Use CRTP for OpSplitter to get rid of virtual dispatch and the virtual-dtor warnings that come with it. llvm-svn: 164140
-
Roman Divacky authored
llvm-svn: 164139
-
Roman Divacky authored
Patch by Adhemerval Zanella. llvm-svn: 164138
-
Roman Divacky authored
llvm-svn: 164137
-
Benjamin Kramer authored
SROA: Replace the member function template contraption for recursively splitting aggregates into a real class. No intended functionality change. llvm-svn: 164135
-
Roman Divacky authored
llvm-svn: 164134
-
Roman Divacky authored
llvm-svn: 164133
-
Roman Divacky authored
store this and use it to not emit long nops when the CPU is geode which doesnt support them. Fixes PR11212. llvm-svn: 164132
-
Hans Wennborg authored
This makes Clang warn about self references in in-class initializers, for example: struct S { int a = a + 42; }; This basically just moves UninitializedFieldVisitor up a bit in SemaDeclCXX.cpp, and adds a call to it from ActOnCXXInClassMemberInitializer. llvm-svn: 164131
-
NAKAMURA Takumi authored
...I don't know why this could appease msvc...baad. llvm-svn: 164130
-
NAKAMURA Takumi authored
llvm-svn: 164129
-
Benjamin Kramer authored
llvm-svn: 164128
-
Daniel Jasper authored
Without this patch, the isDerivedFrom matcher asserts in the "assert(ClassDecl != NULL);" in the new test, as a DependentTemplateSpecilizationType is not a sub-type of TemplateSpecializationType and also does not offer getAsCXXRecordDecl(). I am not sure why this did not cause problems before. It is now (after the changed implementation of isDerivedFrom) easier to write a matcher that actually gets into this branch of the code. llvm-svn: 164127
-
Dmitri Gribenko authored
llvm-svn: 164126
-
Tom Stellard authored
llvm-svn: 164125
-
Benjamin Kramer authored
llvm-svn: 164124
-
Daniel Jasper authored
Patch by Gábor Horváth. llvm-svn: 164123
-
Benjamin Kramer authored
llvm-svn: 164122
-
Daniel Jasper authored
Having Expr-subclass-matchers being VariadicDynCast-Expr-matchers does not provide additional type safety and just makes using them harder. In the clang AST, expressions are always statements and an expression matcher can be used anywhere, a statement matcher is expected. Any given matcher definition still has at least one noun. llvm-svn: 164121
-
Chandler Carruth authored
a fix to getCommonType in the previous patch. llvm-svn: 164120
-
Chandler Carruth authored
FCAs. This is essential in order to promote allocas that are used in struct returns by frontends like Clang. The FCA load would block the rest of the pass from firing, resulting is significant regressions with the bullet benchmark in the nightly test suite. Thanks to Duncan for repeated discussions about how best to do this, and to both him and Benjamin for review. This appears to have blocked many places where the pass tries to fire, and so I'm expect somewhat different results with this fix added. As with the last big patch, I'm including a change to enable the SROA by default *temporarily*. Ben is going to remove this as soon as the LNT bots pick up the patch. I'm just trying to get a round of LNT numbers from the stable machines in the lab. NOTE: Four clang tests are expected to fail in the brief window where this is enabled. Sorry for the noise! llvm-svn: 164119
-
Alexander Potapenko authored
Add a test that ensures that ASan does not allow to override the signal handlers. llvm-svn: 164118
-
Richard Osborne authored
llvm-svn: 164117
-
Alexey Samsonov authored
[TSan] s/uintptr_t/intptr_t in TSan test and enforce stack size limit in one of TSan output tests that somewhy fails otherwise llvm-svn: 164116
-