summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add more constantness in BlockFrequencyInfo.Jakub Staszak2011-08-034-4/+5
| | | | llvm-svn: 136816
* Minor modification to get the full path to the target program.Johnny Chen2011-08-031-1/+2
| | | | llvm-svn: 136815
* Kill the export list as well.Evan Cheng2011-08-031-36/+0
| | | | llvm-svn: 136814
* New approach to r136737: insert the necessary fences for atomic ops in ↵Eli Friedman2011-08-037-86/+94
| | | | | | | | platform-independent code, since a bunch of platforms (ARM, Mips, PPC, Alpha are the relevant targets here) need to do essentially the same thing. I think this completes the basic CodeGen for atomicrmw and cmpxchg. llvm-svn: 136813
* Remove copy-and-paste residues.Johnny Chen2011-08-031-2/+0
| | | | llvm-svn: 136812
* Remove CreateUnwind from the IRBuillder.Bill Wendling2011-08-031-4/+0
| | | | llvm-svn: 136811
* Fix typos.Johnny Chen2011-08-032-2/+2
| | | | llvm-svn: 136809
* Add license header comment.Johnny Chen2011-08-032-0/+16
| | | | llvm-svn: 136808
* Improve overloaded function handling in the typo correction code.Kaelyn Uhrain2011-08-037-38/+126
| | | | | | | | Change TypoCorrection to store a set of NamedDecls instead of a single NamedDecl. Also add initial support for performing function overload resolution to Sema::DiagnoseEmptyLookup. llvm-svn: 136807
* Conditionize the 'print "Set environment ..."' stmt.Johnny Chen2011-08-031-1/+2
| | | | llvm-svn: 136806
* Add a test directory for lldb C++ API programs. Johnny Chen2011-08-030-0/+0
| | | | llvm-svn: 136805
* [analyzer] Introduce MallocOverflowSecurityChecker, a simple flow-sensitive ↵Ted Kremenek2011-08-034-0/+381
| | | | | | checker that may be useful for security auditing. This checker is currently too noisy to be on by default. llvm-svn: 136804
* Remove unused variables.Benjamin Kramer2011-08-032-2/+0
| | | | llvm-svn: 136803
* Some revisions to Devang's change r136759 for merged global debug info.Bob Wilson2011-08-031-23/+9
| | | | llvm-svn: 136802
* Add a directory to make the second copy of libd.dylib in, so we don't haveJim Ingham2011-08-032-47/+44
| | | | | | | | to make & delete directories in the test case. Make a real copy of libd.dylib in that directory so the two libraries are actually different. Use (and remove) the DYLD_LIBRARY_PATH to point to the new library. llvm-svn: 136801
* Patch from David Forsythe for FreeBSD build!Johnny Chen2011-08-033-2/+7
| | | | llvm-svn: 136800
* Go back to the old definition. It's not clear that a 'resume' can be ↵Bill Wendling2011-08-031-2/+2
| | | | | | 'outlined' from the function with the landing pad for all platforms. llvm-svn: 136799
* Add expectedFailure decorator.Johnny Chen2011-08-031-0/+2
| | | | | | rdar://problem/9890530 llvm-svn: 136798
* SCEV: Use AssertingVH to catch dangling BasicBlock* when passes forgetAndrew Trick2011-08-034-3/+106
| | | | | | to notify SCEV of a change. Add forgetLoop in a couple of those places. llvm-svn: 136797
* Unquote the env_cmd_string variable.Johnny Chen2011-08-031-3/+3
| | | | | | Skip the test case test_dyld_library_path(self) because it causes the debugserver to crash. llvm-svn: 136796
* whitespaceAndrew Trick2011-08-031-7/+7
| | | | llvm-svn: 136795
* objective-c: Methods declared in methods must type matchFariborz Jahanian2011-08-033-87/+121
| | | | | | those declated in its protocols. First half or // rdar://6191214 llvm-svn: 136794
* Don't set DYLD_LIBRARY_PATH in the Python environment (which will get passed ↵Jim Ingham2011-08-032-4/+3
| | | | | | | | | down to debugserver) but set it in the debugger settings (which will just get passed down to the target). llvm-svn: 136793
* Fix a few typosJonathan D. Turner2011-08-032-3/+3
| | | | llvm-svn: 136792
* temporarily blacklisting a test case causing hangs on Mac OS XEnrico Granata2011-08-031-1/+2
| | | | llvm-svn: 136791
* Explain how clauses are applied.Bill Wendling2011-08-031-0/+4
| | | | llvm-svn: 136790
* Memaccess: Codegeneration for a simple access function changeRaghesh Aloor2011-08-036-1/+125
| | | | | | | | Code is generated for a simple access function change imported from JSCOP file. An access of A[i] is changed to A[0]. The code for A[0] is generated directly without refering to isl function calls. llvm-svn: 136789
* Comment the weird behavior of __has_feature(is_empty) and __has_feature(is_pod)Douglas Gregor2011-08-031-0/+8
| | | | llvm-svn: 136788
* Handle IMPLICIT_DEF instructions in X86FloatingPoint.Jakob Stoklund Olesen2011-08-032-1/+33
| | | | | | This fixes PR10575. llvm-svn: 136787
* Make the type of the IntegerLiteral for bitfield paddings an actualDouglas Gregor2011-08-031-3/+4
| | | | | | | | integer, and initialise its TypeSourceInfo. The initialisation fixes a crash when using pre-compiled preambles with C++ code-completion. From Erik Verbruggen! Fixes PR10511. llvm-svn: 136786
* testing for a previous issue where formats in summaries where not enforced ↵Enrico Granata2011-08-033-1/+20
| | | | | | in all cases ; removed an unused local variable llvm-svn: 136785
* Improved the expression parser's detection of theSean Callanan2011-08-033-8/+12
| | | | | | | | | | | | current context. Previously, if there was a variable called "self" available, the expression parser assumed it was inside a method. But class methods in Objective-C also take a "self" parameter, of DWARF type "id". We now detect this properly, and only assume we're in an instance method if "self" is a pointer to an Objective-C object. llvm-svn: 136784
* Remove stray commaDouglas Gregor2011-08-031-1/+1
| | | | llvm-svn: 136783
* Introduce a constant for the number of predefined declarations in anDouglas Gregor2011-08-033-9/+33
| | | | | | | | AST file, along with an enumeration naming those predefined declarations. No functionality change, but this will make it easier to introduce new predefined declarations, when/if we need them. llvm-svn: 136781
* give an example of a 'lowered vtable reference'Chris Lattner2011-08-031-5/+28
| | | | llvm-svn: 136780
* Introduce the local -> global declaration ID mapping into the ASTDouglas Gregor2011-08-034-45/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | reader, to allow AST files to be loaded with their declarations remapped to different ID numbers. Fix a number of places where we were either failing to map local declaration IDs into global declaration IDs or where interpreting the local declaration IDs within the wrong module. I've tested this via the usual "random gaps" method. It works well except for the preamble tests, because our handling of the precompiled preamble requires declaration and preprocessed entity to be stable when parsing code and then loading that back into memory. This property will hold in general, but my randomized testing naturally breaks this property to get more coverage. In the future, I expect that the precompiled preamble logic won't need this property. I am very unhappy with the current handling of the translation unit, which is a rather egregious hack. We're going to have to do something very different here for loading multiple AST files, because we don't want to have to cope with merging two translation units. Likely, we'll just handle translation units entirely via "update" records, and predefine a single, fixed declaration ID for the translation unit. That will come later. llvm-svn: 136779
* Memaccess: Display Changed Access RelationRaghesh Aloor2011-08-033-2/+55
| | | | | | | The changed access relations imported from JSCOP file is shown as output of -analyze pass. llvm-svn: 136774
* Use cast<> instead of a C-style cast to get some free assertions.Jay Foad2011-08-031-2/+2
| | | | llvm-svn: 136771
* In ARC, don't try to reclaim the result of a call to performSelectorJohn McCall2011-08-032-5/+44
| | | | | | unless done in a context where the value is used retained. llvm-svn: 136769
* fix PR10286, a problem with the .ll printer handling block addresses that ↵Chris Lattner2011-08-032-11/+43
| | | | | | are out-of-scope. llvm-svn: 136768
* Handle "homogeneous aggregates" as required by the ARM AAPCS-VFP ABI.Bob Wilson2011-08-033-48/+236
| | | | | | | | | | | | | A homogeneous aggregate is an aggregate data structure where after flattening any nesting there are 1 to 4 elements of the same base type that is either a float, double, or Neon vector. All Neon vectors of the same size, either 64 or 128 bits, are treated as equivalent for this purpose. When using the AAPCS-VFP ABI, check for homogeneous aggregates and pass them as arguments by expanding them into a sequence of their base types. This requires extending the existing support for expanded arguments to handle not only structs, but also constant arrays and complex types. llvm-svn: 136767
* Fixed an issue of wrong (by +2) branch target calculation in the ↵Johnny Chen2011-08-031-0/+6
| | | | | | | | | | | disassembler's symbolic information output. A8.6.23 BLX (immediate T2) Target Address = Align(PC, 4) + offset value rdar://problem/9885678 llvm-svn: 136766
* Fixed an issue with parsing object files from .a archives. Greg Clayton2011-08-031-20/+12
| | | | | | | | | | The entire .a file gets cached, and after the first .o file gets loaded, a cached version would get used when trying to extract the skinny slice from a fat BSD archive and would cause a code path to get taken in the BSD archive parser even if we aren't at a BSD archive offset. llvm-svn: 136765
* Fixed an issue where the KVO swizzled type would be returned as the dynamic ↵Enrico Granata2011-08-036-14/+72
| | | | | | | | | | type instead of the actual user-level type - see the test case in lang/objc/objc-dynamic-value for an example Objective-C dynamic type lookup now works for every Objective-C type - previously, true dynamic lookup was only performed for type id llvm-svn: 136763
* Static Analyzer diagnostics visualization: when the last location on a path ↵Anna Zaks2011-08-031-4/+19
| | | | | | is end of the function, the arrow should point to the closing brace, not the statement before it. Patch by Ted Kremenek. llvm-svn: 136761
* Add a test file to go with r136745. It fails, though, for:Johnny Chen2011-08-033-0/+100
| | | | | | | | expr ptr[i]->point.x Radar to be filed. llvm-svn: 136760
* Use byte offset, instead of element number, to access merged global.Devang Patel2011-08-032-3/+145
| | | | llvm-svn: 136759
* Create the scratch AST context in the accessor function, notGreg Clayton2011-08-031-5/+3
| | | | | | only when the executable is set. llvm-svn: 136758
* Small cleanups:Nick Lewycky2011-08-031-3/+2
| | | | | | | | | - use SmallVectorImpl& for the function argument. - ignore the operands on the GEP, even if they aren't constant! Much as we pretend the malloc succeeds, we pretend that malloc + whatever-you-GEP'd-by is not null. It's magic! llvm-svn: 136757
* Add this back in for now. There are still a few passes which create unwind ↵Bill Wendling2011-08-031-1/+1
| | | | | | instructions at the moment. llvm-svn: 136756
OpenPOWER on IntegriCloud