summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* unittests: Add initial Path-V2 test.Michael J. Spencer2010-11-241-0/+3
| | | | llvm-svn: 120103
* Path Version 2.Michael J. Spencer2010-11-241-0/+977
| | | | | | | | | Based on TR2/boost filesystem (v3) API, but modified to remove exceptions. Do not include this file directly, when it is ready, it will be included by include/llvm/System/Path.h. llvm-svn: 120102
* unittests: Add SystemTests.Michael J. Spencer2010-11-246-18/+70
| | | | llvm-svn: 120101
* Fix and add tests for all cases in x86 and x86_64 where gnu as implicitlyRafael Espindola2010-11-243-16/+109
| | | | | | sets the type of a symbol to STT_TLS. llvm-svn: 120100
* Testcase for r120017.Rafael Espindola2010-11-241-0/+1
| | | | llvm-svn: 120099
* Add template alias emulation to <ratio>Howard Hinnant2010-11-241-8/+37
| | | | llvm-svn: 120098
* Updating MBlaze .mask and .frame directives to match GCC's output and fixing ↵Wesley Peck2010-11-241-12/+19
| | | | | | regression introduced in 120095 by checking MCStreamer::hasRawTextSupport. llvm-svn: 120097
* 1. Fixing error where basic block labels were not being printed out when ↵Wesley Peck2010-11-245-33/+126
| | | | | | | | | | they need to be for the MBlaze backend because AsmPrinter::isBlockOnlyReachableByFallthrough does not take into account delay slots. 2. Re-adding .mask and .frame directives in printed assembly. 3. Adding .ent and .end directives in printed assembly. 4. Minor cleanups to MBlaze backend. llvm-svn: 120095
OpenPOWER on IntegriCloud