summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Avoid a confusing assert for silly options: -unroll-runtime -unroll-count=1.Andrew Trick2011-12-161-0/+5
| | | | | | No need for an explicit test case for an unsupported combination of options. llvm-svn: 146721
* Simplify the setup leading to the testing of ReadMemory(), ↵Johnny Chen2011-12-161-25/+7
| | | | | | | | | ReadCStringFromMemory(), and ReadUnsignedFromMemory(). Instead of getting the location of the variable and converting the hex string to an int, just use val.AddressOf().GetValueAsUnsigned() to compute the address of the memory region to read from. llvm-svn: 146719
* [asan] add a test for instrumenting globalsKostya Serebryany2011-12-161-0/+20
| | | | llvm-svn: 146718
* Remove unnecessary #include.Jim Ingham2011-12-162-5/+1
| | | | llvm-svn: 146717
* Add a test sequence of SBProcess.ReadCStringFromMemory() with (char ↵Johnny Chen2011-12-162-0/+14
| | | | | | | | *)my_char_ptr as the address to read from. char *my_char_ptr = (char *)"Does it work?"; llvm-svn: 146716
* Sema::RequireCompleteType currently attempts toSean Callanan2011-12-161-28/+28
| | | | | | | | | | | | | | instantiate a class from its template pattern before it consults the ExternalASTSource. LLDB in particular will sometimes provide patterns that need to be completed first. To make this possible, I have moved the completion before the code that does the instantiation, allowing the ExternalASTSource to provide the required information. llvm-svn: 146715
* ARM NEON aliases for vmovq.f*Jim Grosbach2011-12-161-0/+4
| | | | llvm-svn: 146714
* Extract a method. No functional change.Jakob Stoklund Olesen2011-12-162-36/+47
| | | | llvm-svn: 146713
* Fix a bug where when debugging with .o files, we end up with two symbols for ↵Jim Ingham2011-12-161-4/+20
| | | | | | | | each real OBJC_CLASS_$_whatever, one of which is correctly classified as an ObjCClass symbol, and the other is just a data symbol. This was messing up the ObjC dynamic type detection. <rdar://problem/10589527> llvm-svn: 146712
* llvm-config: Fix --targets-built, I changed this to use the registry but wasn'tDaniel Dunbar2011-12-164-9/+5
| | | | | | | | properly initializing the target infos. I decided it wasn't worth linking them in for this, so just switched back to using the Makefile variable for now. We can reconsider later if we ever get pluggable targets. llvm-svn: 146711
* Thumb2 ADR assembly parsing w/o the .w suffix.Jim Grosbach2011-12-151-0/+4
| | | | llvm-svn: 146710
* Make sure we correctly note the existence of an i8 immediate for vblendvps ↵Eli Friedman2011-12-153-3/+10
| | | | | | and friends, so we compute fixups correctly. PR11586. llvm-svn: 146709
* llvm-config: Update help text for removal of "backend" pseudo component.Daniel Dunbar2011-12-151-1/+0
| | | | llvm-svn: 146708
* In SourceManager::~SourceManager do a sanity check to make sure weArgyrios Kyrtzidis2011-12-151-4/+8
| | | | | | | | don't try to destruct a null ContentCache. rdar://10567159 llvm-svn: 146707
* build/unittests: Fix llvm-config names for gtest libraries, and bring MakefileDaniel Dunbar2011-12-154-7/+5
| | | | | | | library names in line with those used by CMake. - Patch by Johannes Obermayr, with tweaks by me. llvm-svn: 146706
* When generating debug info for an ObjCInterfaceDecl, try to dig out the ↵Douglas Gregor2011-12-151-1/+3
| | | | | | definition. llvm-svn: 146705
* Add test scenario for newly added SBProcess APIs: ReadCStringFromMemory() ↵Johnny Chen2011-12-152-0/+48
| | | | | | and ReadUnsignedFromMemory(). llvm-svn: 146704
* [asan] revert r146529: we do need to build asan-rt as a shared library. Will ↵Kostya Serebryany2011-12-152-8/+1
| | | | | | need to find a different way to modify preinit_array llvm-svn: 146703
* Move parts of lib/Target that use CodeGen into lib/CodeGen.Nick Lewycky2011-12-156-33/+34
| | | | llvm-svn: 146702
* [asan] added a test to check that a global-buffer-overflow mentioned the ↵Kostya Serebryany2011-12-152-2/+9
| | | | | | module name; revert incorrect change in the test runner llvm-svn: 146701
* Make check a bit more strict so we don't call ARM_AM::getFP32Imm with a ↵Eli Friedman2011-12-151-1/+1
| | | | | | value that isn't a 32-bit value. (This is just to be safe; I don't think this actually causes any issues in practice.) llvm-svn: 146700
* ARM NEON VCLE is an alias for VCGE w/ the source operands reversed.Jim Grosbach2011-12-152-0/+62
| | | | llvm-svn: 146699
* [asan] add the name of the module to the description of a global variable. ↵Kostya Serebryany2011-12-151-1/+5
| | | | | | This improves the readability of global-buffer-overflow reports. llvm-svn: 146698
* Add fuzz call for newly added method SBTarget.GetInstructions().Johnny Chen2011-12-151-0/+1
| | | | llvm-svn: 146696
* Add fuzz calls for newly added SBProcess methods. Fix a typo in the audodoc ↵Johnny Chen2011-12-152-1/+4
| | | | | | of SBProcess.ReadCStringFromMemory(). llvm-svn: 146695
* Move ObjCInterfaceDecl's "EndLoc" into DefinitionData, since it onlyDouglas Gregor2011-12-156-25/+34
| | | | | | | | applies to an actual definition. Plus, clarify the purpose of this field and give the accessor a different name, since getLocEnd() is supposed to be the same as getSourceRange().getEnd(). llvm-svn: 146694
* Add MCTargetDesc library to Hexagon targetTony Linthicum2011-12-1515-30/+186
| | | | llvm-svn: 146692
* ARM NEON VTBL/VTBX assembly parsing and encoding.Jim Grosbach2011-12-155-51/+43
| | | | llvm-svn: 146691
* Enable proper constant island alignment by default.Jakob Stoklund Olesen2011-12-151-1/+1
| | | | | | | The code size increase is tiny (< 0.05%) because so little code uses 16-byte constant pool entries. llvm-svn: 146690
* Add missing zmovl AVX patterns which were causing crashes.Chad Rosier2011-12-152-0/+14
| | | | | | Patch by Elena Demikhovsky <elena.demikhovsky@intel.com>! llvm-svn: 146689
* [asan] fix a bug (issue 19) where dlclose and the following mmap caused a ↵Kostya Serebryany2011-12-153-5/+35
| | | | | | false positive. compiler part. llvm-svn: 146688
* [asan] fix a bug (issue 19) where dlclose and the following mmap caused a ↵Kostya Serebryany2011-12-155-24/+46
| | | | | | false positive. run-time part. llvm-svn: 146687
* Silence warning.Jim Grosbach2011-12-151-1/+1
| | | | llvm-svn: 146686
* ARM NEON two-register double spaced register list parsing support.Jim Grosbach2011-12-151-14/+49
| | | | llvm-svn: 146685
* Fix assert in LowerBUILD_VECTOR for v16i16 type on AVX.Chad Rosier2011-12-152-2/+12
| | | | | | Patch by Elena Demikhovsky <elena.demikhovsky@intel.com>! llvm-svn: 146684
* [analyzer] Address Jordy's comments for r145985.Anna Zaks2011-12-153-8/+4
| | | | llvm-svn: 146683
* Zap unnecessary semicolons.Eli Friedman2011-12-151-2/+2
| | | | llvm-svn: 146682
* [asan] regression test for asan issue 19, currently fails.Kostya Serebryany2011-12-152-0/+106
| | | | llvm-svn: 146681
* When name lookup finds a module-private Objective-C class declaration,Douglas Gregor2011-12-152-3/+3
| | | | | | check whether any previous declarations of the class were visible. llvm-svn: 146680
* Keep track of all declarations of an Objective-C class (both forwardDouglas Gregor2011-12-1521-132/+117
| | | | | | | | | | declarations and definitions) as ObjCInterfaceDecls within the same redeclaration chain. This new representation matches what we do for C/C++ variables/functions/classes/templates/etc., and makes it possible to answer the query "where are all of the declarations of this class?" llvm-svn: 146679
* Set specific target cpu for testcase.Lang Hames2011-12-151-1/+1
| | | | llvm-svn: 146678
* Fixed several bugs, implemented support for vector types, and cleaned out ↵Howard Hinnant2011-12-153-4573/+218
| | | | | | dead code. llvm-svn: 146677
* Move disassemble-raw-data dir to reside under test/python_api where they belong.Johnny Chen2011-12-151-1/+6
| | | | | | Add debug statements for the raw bytes and the disassembled instruction. llvm-svn: 146676
* Added test case for r146671.Lang Hames2011-12-151-0/+12
| | | | llvm-svn: 146675
* Use the proper comparator for set_intersection.Jakob Stoklund Olesen2011-12-151-1/+2
| | | | llvm-svn: 146674
* Refactor and simplify AddInitializerToDecl.Richard Smith2011-12-151-101/+73
| | | | llvm-svn: 146673
* clarify that clang version number macros are marketing version #'s, not ↵Chris Lattner2011-12-151-7/+12
| | | | | | something useful. llvm-svn: 146672
* Fix VSELECT operand order. Was previously backwards, causing bogus vector ↵Lang Hames2011-12-151-3/+3
| | | | | | shift results - <rdar://problem/10559581>. llvm-svn: 146671
* Update DebugLoc while merging nodes at -O0.Devang Patel2011-12-153-7/+24
| | | | | | Patch by Kyriakos Georgiou! llvm-svn: 146670
* Extend ObjCInterfaceDecl::DefinitionData to contain a pointer to theDouglas Gregor2011-12-153-24/+26
| | | | | | | definition, and implement ObjCInterfaceDecl::getDefinition() efficiently based on that. llvm-svn: 146669
OpenPOWER on IntegriCloud