summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix Whitespace.Michael J. Spencer2010-11-267-65/+65
| | | | llvm-svn: 120166
* Move tree navigation to a new Path class that doesn't have to be a template.Jakob Stoklund Olesen2010-11-262-296/+364
| | | | | | | | The path also holds a reference to the root node, and that allows important iterator accessors like start() and stop() to have no conditional code. (When the compiler is clever enough to remove it.) llvm-svn: 120165
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-254-4/+4
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). Yes, dragonegg supports objective-c++ (poorly though). llvm-svn: 120164
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2510-10/+10
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). Yes, dragonegg supports objective-c (poorly though). llvm-svn: 120163
* Bump required cmake version on CMake.html.Oscar Fuentes2010-11-251-1/+1
| | | | llvm-svn: 120162
* Use -S rather than -c for the benefit of dragonegg.Duncan Sands2010-11-253-3/+3
| | | | llvm-svn: 120161
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2547-63/+63
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120160
* Judging from the comment, the system assembler is supposed to assembleDuncan Sands2010-11-251-1/+1
| | | | | | | | the output of this test. Since it was producing bitcode, that clearly wasn't happening! Have it produce target assembler and assemble that instead. llvm-svn: 120159
* Remove explicit uses of -emit-llvm, the test infrastructure adds itDuncan Sands2010-11-2588-121/+121
| | | | | | | | automatically. Use -S with llvm-gcc rather than -c, so tests can work when llvm-gcc is really dragonegg (which can output IR with -S but not -c). llvm-svn: 120158
* Dragonegg cannot output bitcode, only human readable IR, so use -S ratherDuncan Sands2010-11-2521-22/+22
| | | | | | than -c. llvm-svn: 120157
* Use LLVMCC_EMITIR_FLAG rather than hard-coding "-emit-llvm".Duncan Sands2010-11-253-5/+6
| | | | llvm-svn: 120156
* Using LLVMCC_EMITIR_FLAG rather than hard-coding -emit-llvmDuncan Sands2010-11-251-10/+10
| | | | | | | (dragonegg cannot use -emit-llvm so needs a different flag to everyone else). llvm-svn: 120155
* Add C++ header path for openSUSE 11.4.Rafael Espindola2010-11-251-0/+7
| | | | | | Patch by İsmail Dönmez. llvm-svn: 120154
* Hide a bunch of symbols.Benjamin Kramer2010-11-253-33/+35
| | | | llvm-svn: 120153
* It seems inconsistent to have LLVMCC_EMITIR_FLAG andDuncan Sands2010-11-253-8/+8
| | | | | | | | LLVMGCC_DISABLEOPT_FLAGS, one with CC in it, the other with GCC. Rename LLVMGCC_DISABLEOPT_FLAGS to LLVMCC_DISABLEOPT_FLAGS. llvm-svn: 120151
* SDep is POD-like. Shave off a few bytes from SUnit by moving a member around.Benjamin Kramer2010-11-251-7/+10
| | | | llvm-svn: 120150
* Initial support for being able to specify the llvm-gcc to use like this:Duncan Sands2010-11-252-16/+14
| | | | | | --with-llvmgcc="gcc-4.5 -fplugin=dragonegg.so" llvm-svn: 120149
* OpaquePtrs are POD-like.Benjamin Kramer2010-11-251-0/+3
| | | | llvm-svn: 120148
* Use multiple 0x66 prefixes so that all nops up to 15 bytes are a single ↵Rafael Espindola2010-11-252-25/+9
| | | | | | instruction. llvm-svn: 120147
* Namespacify.Benjamin Kramer2010-11-252-3/+3
| | | | llvm-svn: 120146
* Factor some code to parseSectionFlags and fix the default type of a section.Rafael Espindola2010-11-252-49/+71
| | | | llvm-svn: 120145
* For CFGAutomaticObjDtor, the type may be reference type, e.g., const A &c = A();Zhongxing Xu2010-11-251-10/+17
| | | | | | Also apply some new coding style. llvm-svn: 120144
* handle CXXFunctionalCastExpr in visitLValue and Environment.Zhongxing Xu2010-11-253-0/+27
| | | | llvm-svn: 120143
* Improve comments.Zhongxing Xu2010-11-251-2/+1
| | | | llvm-svn: 120142
* Add dump method.Zhongxing Xu2010-11-252-0/+6
| | | | llvm-svn: 120141
* Begin work on actually laying out virtual bases.Anders Carlsson2010-11-251-1/+32
| | | | llvm-svn: 120140
* system_error: Even more unsupported error numbers :(.Michael J. Spencer2010-11-251-0/+12
| | | | llvm-svn: 120139
* Update Xcode project.Anders Carlsson2010-11-251-4/+4
| | | | llvm-svn: 120138
* Move isNearlyEmpty out into the ASTContext so it can be called from CodeGen ↵Anders Carlsson2010-11-256-30/+42
| | | | | | as well. llvm-svn: 120137
* Basic: add log2{,f,l}, round{,f,l} builtinsPeter Collingbourne2010-11-251-0/+6
| | | | llvm-svn: 120136
* Tie DefineVTablesUsed() in with recursive function instantiation so that we emitNick Lewycky2010-11-255-26/+56
| | | | | | | | | | a useful template instantiation stack. Fixes PR8640. This also causes a slight change to where the "instantianted from" note shows up in truly esoteric cases (see the change to test/SemaCXX/destructor.cpp), but that isn't directly the fault of this patch. llvm-svn: 120135
* Remove the PrimaryBaseInfo class.Anders Carlsson2010-11-242-78/+13
| | | | llvm-svn: 120134
* Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual.Anders Carlsson2010-11-248-15/+15
| | | | llvm-svn: 120133
* Move code off the primary base info iterator. No functionality change.Anders Carlsson2010-11-241-4/+14
| | | | llvm-svn: 120132
* Use the newly added function in ASTRecordLayoutBuilder.Anders Carlsson2010-11-241-38/+3
| | | | llvm-svn: 120131
* Fix typo.Anders Carlsson2010-11-241-2/+2
| | | | llvm-svn: 120130
* Add CXXRecordDecl::getIndirectPrimaryBases.Anders Carlsson2010-11-244-2/+64
| | | | llvm-svn: 120129
* Treat a call of function pointer like a load of the pointer when consideringNick Lewycky2010-11-242-1/+19
| | | | | | | whether the pointer can be replaced with the global variable it is a copy of. Fixes PR8680. llvm-svn: 120126
* Behave a bit more like gnu as and use the symbol (instead of the section)Rafael Espindola2010-11-243-7/+82
| | | | | | for any relocation to a symbol defined in a tls section. llvm-svn: 120121
* Simplify code.Anders Carlsson2010-11-241-4/+2
| | | | llvm-svn: 120118
* Fix a (probably very old) regression where we weren't using the typedef name ↵Anders Carlsson2010-11-243-8/+7
| | | | | | for anonymous tag types. llvm-svn: 120113
* Revert r120110. We don't want to call ConvertType from within getCGRecordLayout.Anders Carlsson2010-11-241-7/+5
| | | | llvm-svn: 120112
* 80 col.Michael J. Spencer2010-11-241-2/+4
| | | | llvm-svn: 120111
* Use ConvertType instead of ConvertTagDeclType, since ConvertType will assign ↵Anders Carlsson2010-11-241-3/+5
| | | | | | a name to the type. llvm-svn: 120110
* Simplify code.Anders Carlsson2010-11-242-20/+2
| | | | llvm-svn: 120109
* Fix build.Anders Carlsson2010-11-241-1/+2
| | | | llvm-svn: 120108
* Make CodeGenTypes::getCGRecordLayout compute the layout lazily if it doesn't ↵Anders Carlsson2010-11-242-1/+9
| | | | | | exist. This matches ASTContext::getASTRecordLayout and is less confusing. llvm-svn: 120107
* CGRecordLayout types are always struct types.Anders Carlsson2010-11-242-11/+11
| | | | llvm-svn: 120106
* google test depends on Support.Michael J. Spencer2010-11-241-1/+1
| | | | llvm-svn: 120105
* Relocate with the symbol if the relocation is of kind NTPOFF.Rafael Espindola2010-11-242-14/+36
| | | | | | Patch by David Meyer, I added the test. llvm-svn: 120104
OpenPOWER on IntegriCloud