- May 04, 2012
-
-
Alexey Samsonov authored
It reduces the amount of emitted debug information: 1) DIEs in .debug_info have types DW_TAG_compile_unit, DW_TAG_subprogram, DW_TAG_inlined_subroutine (for opt builds) and DW_TAG_lexical_block only. 2) .debug_str contains only function names. 3) No debug data for types/namespaces/variables is emitted. 4) The data in .debug_line is enough to produce valid stack traces with function names and line numbers. Reviewed by Eric Christopher. llvm-svn: 156160
-
NAKAMURA Takumi authored
llvm-svn: 156153
-
-
Richard Trieu authored
in the conditional. llvm-svn: 156148
-
Argyrios Kyrtzidis authored
rdar://11353109 llvm-svn: 156145
-
Argyrios Kyrtzidis authored
was removed in r155969 to address a deficiency of RecursiveASTVisitor prior to recent changes on it. llvm-svn: 156142
-
Argyrios Kyrtzidis authored
minimal disruption on its clients. Unlike the previous data-recursive scheme, Traverse*Stmt methods are always getting called. The base methods of RecursiveASTVisitor will enqueue the sub-statements instead of calling TraverseStmt on them. Clients that override a Traverse*Stmt method and call TraverseStmt will still function as function-recursive traversal; if a client wants to enqueue a sub-statement in its override method it can do it like this: [inside the override method] StmtQueueAction StmtQueue(*this); StmtQueue.queue(Stmt->getSubStmt()); Should address rdar://11179167. llvm-svn: 156141
-
Anna Zaks authored
a struct. llvm-svn: 156135
-
Anna Zaks authored
(Since we don't have a generic pointer escape callback, modify ExprEngineCallAndReturn as well as the malloc checker.) llvm-svn: 156134
-
Chandler Carruth authored
of templates by using the newly introduce FoldingSetVector. This preserves insertion order for all iteration of specializations. I've also included a somewhat terrifying testcase that rapidly builds up a large number of functions. This is enough that any system with ASLR will have non-deterministic debug information generated for the test case without the fix here as the debug information is generated in part by walking these specializations. llvm-svn: 156133
-
Bob Wilson authored
llvm-svn: 156132
-
Douglas Gregor authored
Inline DenseMapInfo<clang::DeclarationName>::getHashValue() for a 0.4% speedup on <rdar://problem/11004361> llvm-svn: 156129
-
Fariborz Jahanian authored
// rdar://11095151 llvm-svn: 156127
-
Douglas Gregor authored
(trivially) make DeclContext::lookup()'s const version inlinable. Good for 0.3% on <rdar://problem/11004361>. llvm-svn: 156126
-
Fariborz Jahanian authored
synthesis translation. // rdar://11374235 - wip. llvm-svn: 156125
-
Stephen Canon authored
llvm-svn: 156123
-
Chad Rosier authored
array_lengthof. Also, append the new filename with correct preprocessed suffix. Last part of rdar://11285725 llvm-svn: 156117
-
Richard Smith authored
dropped its prior behavior of always defining __cplusplus to 1 in GNU mode in version 4.7. llvm-svn: 156113
-
- May 03, 2012
-
-
Argyrios Kyrtzidis authored
validate that we didn't override the contents of any of such files. If this is detected, emit a diagnostic error and recover gracefully by using the contents of the original file that the PCH was built from. Part of rdar://11305263 llvm-svn: 156107
-
Fariborz Jahanian authored
of places. // rdar://11375908 llvm-svn: 156106
-
Chad Rosier authored
llvm-svn: 156104
-
Douglas Gregor authored
performing the search for overridden methods. We very rarely see the same container twice, and in those rare cases we still have the fallback of the second SmallPtrSet to eliminate duplicates. Good for ~1.5% -fsyntax-only speedup on the code in <rdar://problem/11004361>. llvm-svn: 156103
-
Fariborz Jahanian authored
prototypes should both return `struct objc_class *`. // rdar://11375495 llvm-svn: 156097
-
Chad Rosier authored
Part of rdar://11285725 llvm-svn: 156096
-
Richard Smith authored
llvm-svn: 156095
-
Richard Smith authored
llvm-svn: 156094
-
Chad Rosier authored
llvm-svn: 156093
-
Bob Wilson authored
Some of the NSAssert macros in OS X 10.7 are implemented in a way that adds extra arguments that trigger the -Wformat-extra-args warning. Earlier versions of clang failed to detect those -Wformat issues, but now that clang is reporting those problems, we need to quiet them since there's nothing to be done to fix them. <rdar://problem/11317765> I don't know how to write a testcase for this. Suggestions welcome. Patch by Ted Kremenek! llvm-svn: 156092
-
Kaelyn Uhrain authored
llvm-svn: 156091
-
Peter Collingbourne authored
EXCLUDE_FROM_ALL property. llvm-svn: 156090
-
Jordy Rose authored
[analyzer] When promoting constant integers in a comparison, use the larger width of the two to avoid truncation. llvm-svn: 156089
-
Richard Smith authored
llvm-svn: 156087
-
Richard Smith authored
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which can be used to suppress the warning in the case of intentional fallthrough. Patch by Alexander Kornienko! The handling of C++11 attribute namespaces in this patch is temporary, and will be replaced with a cleaner mechanism in a subsequent patch. llvm-svn: 156086
-
Anna Zaks authored
specifically checks for equality to null. Enforcing this general practice, which keeps the analyzer less noisy, in the CString Checker. This change suppresses "Assigned value is garbage or undefined" warning in the added test case. llvm-svn: 156085
-
Richard Smith authored
was unintentional. Found by -Wimplicit-fallthrough, patch by Alexander Kornienko! llvm-svn: 156082
-
Argyrios Kyrtzidis authored
failing to lex the string, as suggested by Eli. Part of rdar://11305263. llvm-svn: 156081
-
Chad Rosier authored
aren't necessary to reproduce the clang crash. Part of rdar://11285725 llvm-svn: 156079
-
Fariborz Jahanian authored
under -Wobjc-missing-property-synthesis which must be opted-in. // rdar://11295716 llvm-svn: 156078
-
David Blaikie authored
llvm-svn: 156074
-
Simon Atanasyan authored
Test case Clang::Driver/debug-options-as.c depends on the integrated assembler. Turn it on explicitly on all platforms by the "-integrated-as" option. llvm-svn: 156063
-