- Apr 27, 2009
-
-
Chris Lattner authored
eventually get an option to turn this off, but it is nice for looking at statistics. For example, the types block now prints: Block ID #11 (TYPES_BLOCK_ID): Num Instances: 1 Total Size: 895100b/111888B/27971.9W % of file: 1.55801 Num SubBlocks: 0 Num Abbrevs: 0 Num Records: 14899 % Abbrev Recs: 0 Code Histogram: 5478 TYPE_FUNCTION_PROTO 2683 TYPE_TYPEDEF 2460 TYPE_POINTER 2047 TYPE_ENUM 1553 TYPE_RECORD 283 TYPE_CONSTANT_ARRAY 274 TYPE_OBJC_INTERFACE 76 TYPE_INCOMPLETE_ARRAY 10 TYPE_VECTOR 9 TYPE_OBJC_QUALIFIED_ID 5 TYPE_FUNCTION_NO_PROTO 5 TYPE_EXT_QUAL 3 TYPE_TYPEOF_EXPR llvm-svn: 70166 -
Chris Lattner authored
BLOCKNAME and SETRECORDNAME. This allows a bitcode file to be self describing with pretty names for records and blocks in addition to numbers. This enhances llvm-bcanalyzer to use this to print prettily. llvm-svn: 70165
-
Douglas Gregor authored
llvm-svn: 70164
-
Douglas Gregor authored
- Deal with the Receiver/ClassInfo shared storage in ObjCMessageExpr - Implement PCH support for ImplicitParamDecl - Fix the handling of the body of an ObjCMethodDecl - Several cast -> cast_or_null fixes - Make Selector::getIdentifierInfoForSlot work for 1-argument, NULL selectors. - Make Selector::getAsString() work with NULL selectors. - Fix the names of VisitObjCAtCatchStmt and VisitObjCAtFinallyStmt in the PCH reader and writer; these were never getting called. At this point, all of the pch-test tests pass for C and Objective-C. llvm-svn: 70163
-
Eli Friedman authored
llvm-svn: 70162
-
Sebastian Redl authored
llvm-svn: 70160
-
Chris Lattner authored
llvm-svn: 70159
-
Chris Lattner authored
llvm-svn: 70158
-
Chris Lattner authored
state out of the BitstreamReader class into a BitstreamCursor class. Doing this allows the client to have multiple cursors into the same file, each with potentially different live block stacks and abbreviation records. llvm-svn: 70157
-
Eli Friedman authored
offsetof correctly in the presence of anonymous structs/unions. This could definitely use some cleanup, but I don't really want to mess with the anonymous union/struct code. llvm-svn: 70156
-
Sebastian Redl authored
llvm-svn: 70155
-
Bill Wendling authored
llvm-svn: 70151
-
Bill Wendling authored
llvm-svn: 70148
-
Chris Lattner authored
64-bit build. llvm-svn: 70147
-
Eli Friedman authored
llvm-svn: 70145
-
Eli Friedman authored
llvm-svn: 70144
-
Steve Naroff authored
llvm-svn: 70143
-
Chris Lattner authored
Before we emitted: $ clang t.c -S -m64 llvm: error: Unsupported asm: input constraint with a matching output constraint of incompatible type! Now we produce: $ clang t.c -S -m64 t.c:5:40: error: unsupported inline asm: input with type 'unsigned long' matching output with type 'int' asm volatile("foo " : "=a" (a) :"0" (b)); ~~~ ~^~ llvm-svn: 70142 -
Bill Wendling authored
llvm-svn: 70138
-
Chris Lattner authored
llvm-svn: 70137
-
Chris Lattner authored
llvm-svn: 70136
-
Chris Lattner authored
instead of passing it around in addition to it. llvm-svn: 70135
-
Sanjiv Gupta authored
Any size of integral indices are allowed in gep for indexing into sequential types. Also adding a test case to check the indices type allowed into struct. llvm-svn: 70134
-
- Apr 26, 2009
-
-
Steve Naroff authored
This fixes all the -emit-pch problems discovered by utils/pch-test.pl. llvm-svn: 70125
-
Sebastian Redl authored
llvm-svn: 70122
-
Sebastian Redl authored
llvm-svn: 70121
-
Torok Edwin authored
llvm-svn: 70115
-
Chris Lattner authored
the enum along with some other data. llvm-svn: 70114
-
Douglas Gregor authored
llvm-svn: 70113
-
Douglas Gregor authored
llvm-svn: 70112
-
Douglas Gregor authored
Make sure to pull in the target builtin records when initialize the AST context, even if we're not going to initialize the __builin_* identifiers llvm-svn: 70111
-
Douglas Gregor authored
dump their contents for all of the compilable tests in Clang's testsuite. All of the tests pass for C, but there are still many failures for Objective-C. llvm-svn: 70110
-
Douglas Gregor authored
necessary and iterate until all types and declarations have been written. This reduces the Cocoa.h PCH file size by about 4% (since we don't write types we don't need), and fixes problems where writing a declaration generates a new type. This doesn't seem to have any impact on performance either way. llvm-svn: 70109
-
Douglas Gregor authored
declaration rather than printing through the HandleTopLevelDecl action. Using this, one can deserialize an entire PCH file and dump it. llvm-svn: 70108
-
Chris Lattner authored
llvm-svn: 70107
-
Douglas Gregor authored
llvm-svn: 70106
-
Chris Lattner authored
llvm-svn: 70105
-
Eli Friedman authored
cleanup attribute checking. The difference isn't normally visible, but it can make a difference... llvm-svn: 70104
-
Daniel Dunbar authored
llvm-svn: 70103
-
Daniel Dunbar authored
- This can be used to supply a default value for -std=; the idea is that this can be used in conjunction with CCC_ADD_ARGS or QA_OVERRIDE_GCC3_OPTIONS to change the default without having to modify the build system. llvm-svn: 70102
-