summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Free isl_ctx and fix several memory leaksTobias Grosser2011-08-208-33/+83
| | | | | | | | | Because of me not understanding the LLVM pass structure well, I did not find a good way to allocate isl_ctx and to free it later without getting issues with reference counting. I now found this place, such that we can free isl_ctx. This patch also fixes the memory leaks that were ignored beforehand. llvm-svn: 138204
* GICHelper: Fix memory leaks, as we forgot to free some strings.Tobias Grosser2011-08-201-5/+15
| | | | llvm-svn: 138203
* Move common code into the function it belongs toTobias Grosser2011-08-201-4/+1
| | | | llvm-svn: 138202
* test/lit.cfg: Enable "crash-recovery" tests on Win32 hosts. ↵NAKAMURA Takumi2011-08-201-2/+1
| | | | | | | CrashRecoveryContext supports Win32 since r138199. FIXME: Shall we eliminate the feature "crash-recovery"? llvm-svn: 138201
* Typo spotted by Ivan Krasin.Chad Rosier2011-08-201-1/+1
| | | | llvm-svn: 138200
* lib/Support/CrashRecoveryContext.cpp: Add Win32 support to ↵NAKAMURA Takumi2011-08-201-1/+67
| | | | | | CrashRecoveryContext. Thanks to Aaron Ballman! llvm-svn: 138199
* lib/Support/Windows/Windows.h: Require at least Windows XP(5.1) API. We will ↵NAKAMURA Takumi2011-08-201-2/+2
| | | | | | not support Windows 2000 any more. llvm-svn: 138198
* Remove this test. It requires C++ standard library headers, which we'dChandler Carruth2011-08-201-13/+0
| | | | | | | | | | | like to avoid within the Clang test suite, it doesn't verify the output at all so it only servers as a test that Clang doesn't crash, and finally all it does is declare a function that returns a vector and call it. Probably the biggest thing being tested here is Clang's parsing of the vector template, and we have lots of good template parsing tests. We don't need another in codegen. llvm-svn: 138197
* [analyzer] Handle reads of ObjCPropertyRefExprs implicitly in Environment. ↵Ted Kremenek2011-08-204-10/+6
| | | | | | No need to bind an explicit value and create a new node. llvm-svn: 138196
* [analyzer] Simplify ExprEngine::VisitBinaryOperator() by removing recursive ↵Ted Kremenek2011-08-201-121/+113
| | | | | | visit to subexpressions (which is no longer needed). llvm-svn: 138195
* Start partitioning ExprEngine.cpp into separate .cpp files that handle ↵Ted Kremenek2011-08-205-1187/+1202
| | | | | | | | different parts of the analysis (e.g., analysis of C expressions, analysis of Objective-C expressions, and so on). llvm-svn: 138194
* Rename CXXExprEngine.cpp to ExprEngineCXX.cpp.Ted Kremenek2011-08-202-2/+2
| | | | llvm-svn: 138193
* utils/lit/lit/TestingConfig.py: Pass TEMP and TMP to tests on Win32 hosts.NAKAMURA Takumi2011-08-201-0/+2
| | | | | | Win32 GetTempPath() tends to pick up %WINDIR% when neither TEMP nor TMP was found. %WINDIR% should not be treated writable on recent Windows OS. llvm-svn: 138192
* utils/lit/lit/TestingConfig.py: Split out environment vars for Win32.NAKAMURA Takumi2011-08-201-3/+8
| | | | llvm-svn: 138191
* test/CodeGenCXX/2003-11-25-ReturningOpaqueByValue.cpp: Mark XFAIL: win32.NAKAMURA Takumi2011-08-201-0/+2
| | | | | FIXME: Avoid using system headers. clang cannot handle MS <vector> yet. llvm-svn: 138190
* Make the loading of multiple records for the same identifier (fromDouglas Gregor2011-08-204-1/+14
| | | | | | | | | | different modules) more robust. It already handled (simple) merges of the set of declarations attached to that identifier, so add a test case that shows us getting two different declarations for the same identifier (one struct, one function) from different modules, and are able to use both of them. llvm-svn: 138189
* Clean out some minor cruft in the AST reader; no functionality change.Douglas Gregor2011-08-201-2/+0
| | | | llvm-svn: 138188
* Introduce a module visitation function that starts at the top-levelDouglas Gregor2011-08-205-19/+145
| | | | | | | | | | | | | | | | | modules (those that no other module depends on) and performs a search over all of the modules, visiting a new module only when all of the modules that depend on it have already been visited. The visitor can abort the search for all modules that a module depends on, which allows us to minimize the number of lookups necessary when performing a search. Switch identifier lookup from a linear walk over the set of modules to this module visitation operation. The behavior is the same for simple PCH and chained PCH, but provides the proper search order for modules. Verified with printf debugging, since we don't have enough in place to actually test this. llvm-svn: 138187
* Cast through intptr_t, ISO C++ requires it.Benjamin Kramer2011-08-201-5/+3
| | | | llvm-svn: 138186
* Static Analyzer Diagnostics: Move the responsibility for generating the ↵Anna Zaks2011-08-205-71/+118
| | | | | | endOfPath diagnostic piece from BugReport to BugReporterVisitor. Switch CFRefCount to use visitors in order to generate the endOfPath piece. llvm-svn: 138184
* Remove dead code.Ted Kremenek2011-08-202-25/+1
| | | | llvm-svn: 138183
* Remove XFAIL/XTARGET since this is passing on the other bots.Eric Christopher2011-08-201-2/+0
| | | | llvm-svn: 138182
* Remove remainder of migrated or obsolete tests from FrontendC and removeEric Christopher2011-08-208-136/+0
| | | | | | the empty directory. llvm-svn: 138181
* Migrate, update and FileCheckize:Eric Christopher2011-08-204-0/+90
| | | | | | | | | | | 2010-02-01-utf16-with-null.m 2010-02-23-DbgInheritance.m 2010-03-17-StructRef.m 2011-03-08-IVarLookup.m from llvm/test/FrontendObjC. llvm-svn: 138180
* Fix typos in comment.Johnny Chen2011-08-201-1/+1
| | | | llvm-svn: 138179
* Use os.walk(), available since 2.3, instead of os.path.walk(), removed in 3.0,Johnny Chen2011-08-201-37/+28
| | | | | | to walk the directory tree. Plus, we can concentrate only on leaf nodes, i.e., files. llvm-svn: 138178
* Remove the VMOVQQ pseudo instruction.Chad Rosier2011-08-203-44/+8
| | | | llvm-svn: 138177
* Remove migrated or obsolete tests.Eric Christopher2011-08-207-227/+0
| | | | llvm-svn: 138176
* Migrate, update and FileCheckize:Eric Christopher2011-08-204-0/+51
| | | | | | | | | | | 2008-11-25-Blocks.m 2009-01-26-WriteBarrier-2.m 2009-02-05-VolatileProp.m 2009-08-05-utf16.m from llvm/test/FrontendObjC. llvm-svn: 138175
* Remove VMOVQQQQ pseudo instruction.Chad Rosier2011-08-201-2/+0
| | | | llvm-svn: 138174
* Remove obsolete or migrated tests.Eric Christopher2011-08-209-206/+0
| | | | llvm-svn: 138173
* Migrate, FileCheckize and update:Eric Christopher2011-08-207-0/+154
| | | | | | | | | | | | | | 2007-04-03-ObjcEH.m 2007-05-02-Strong.m 2007-10-18-ProDescriptor.m 2007-10-23-GC-WriteBarrier.m 2008-10-3-EhValue.m 2008-11-12-Metadata.m 2008-11-24-ConstCFStrings.m from llvm/test/FrontendObjC. llvm-svn: 138172
* With the fix in r138164: "Add <imp-def> operands to QQ and QQQQ stack loads."Chad Rosier2011-08-201-1/+1
| | | | | | -verify-machineinstrs can be enabled for this test case. llvm-svn: 138171
* Remove obsoleted test.Eric Christopher2011-08-201-28/+0
| | | | llvm-svn: 138170
* Further fix for SWIG interoperability; making sure the Release() method of ↵Enrico Granata2011-08-201-13/+30
| | | | | | SBCommandReturnObject is called at all times llvm-svn: 138169
* Remove tests that were either migrated to clang or are obsolete.Eric Christopher2011-08-205-65/+0
| | | | llvm-svn: 138168
* Migrate and update:Eric Christopher2011-08-203-0/+33
| | | | | | | | | | 2007-10-03-MetadataPointers.mm 2010-08-04-Template.mm 2010-08-06-X.Y-syntax.mm from llvm/test/FrontendObjC++. llvm-svn: 138167
* Remove this file, it's not much of a test and string headers causeEric Christopher2011-08-201-13/+0
| | | | | | problems on windows. llvm-svn: 138166
* Remove the rest of the files in FrontendC++ and the directory itself.Eric Christopher2011-08-208-131/+0
| | | | | | All tests have been updated and migrated into clang or were obsolete. llvm-svn: 138165
* Add <imp-def> operands to QQ and QQQQ stack loads.Jakob Stoklund Olesen2011-08-201-2/+4
| | | | | | | | This pleases the register scavenger and brings test/CodeGen/ARM/2011-08-12-vmovqqqq-pseudo.ll a little closer to working with -verify-machineinstrs. llvm-svn: 138164
* VMOVQQQQs pseudo instructions are only created by ARMBaseInstrInfo::copyPhysReg.Chad Rosier2011-08-203-59/+33
| | | | | | | Therefore, rather then generate a pseudo instruction, which is later expanded, generate the necessary instructions in place. llvm-svn: 138163
* Migrate, FileCheckize and update:Eric Christopher2011-08-207-0/+124
| | | | | | | | | | | | | | 2003-11-02-WeakLinkage.cpp 2003-11-18-PtrMemConstantInitializer.cpp 2003-11-25-ReturningOpaqueByValue.cpp 2003-11-27-MultipleInheritanceThunk.cpp 2003-11-29-DuplicatedCleanupTest.cpp 2003-12-08-ArrayOfPtrToMemberFunc.cpp 2004-01-11-DynamicInitializedConstant.cpp from llvm/test/FrontendC++. llvm-svn: 138162
* No need to look further if the file is a symbolic link. Look for the real file.Johnny Chen2011-08-201-0/+8
| | | | | | Plus add some comments. llvm-svn: 138159
* Migrate, FileCheckize and update:Eric Christopher2011-08-209-0/+127
| | | | | | | | | | | | | | | | 2004-03-08-ReinterpretCastCopy.cpp 2004-03-09-UnmangledBuiltinMethods.cpp 2004-03-15-CleanupsAndGotos.cpp 2004-06-08-LateTemplateInstantiation.cpp 2004-09-27-CompilerCrash.cpp 2004-09-27-DidntEmitTemplate.cpp 2004-11-27-ExceptionCleanupAssertion.cpp 2004-11-27-FriendDefaultArgCrash.cpp 2005-01-03-StaticInitializers.cpp from llvm/test/FrontendC++. llvm-svn: 138157
* Remove migrated or obsolete tests.Eric Christopher2011-08-2011-162/+0
| | | | llvm-svn: 138156
* ScopInfo/Dependences: Use parameter ids everywhereTobias Grosser2011-08-202-62/+20
| | | | llvm-svn: 138155
* Fixed some SWIG interoperability issuesEnrico Granata2011-08-196-19/+40
| | | | llvm-svn: 138154
* If we're splitting the landing pad block and assigning it only one predecessor,Bill Wendling2011-08-191-26/+40
| | | | | | then don't split it a second time, since that block will be dead. llvm-svn: 138153
* Modify the check line to be happier on windows.Eric Christopher2011-08-191-1/+1
| | | | llvm-svn: 138152
* Remove dead file.Eric Christopher2011-08-191-29/+0
| | | | llvm-svn: 138150
OpenPOWER on IntegriCloud