summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Attempt to recover gdb bot after r174445.Manman Ren2013-02-066-6/+8
| | | | | | | | | Failure: undefined symbol 'Lline_table_start0'. Root-cause: we use a symbol subtraction to calculate at_stmt_list, but the line table entries are not dumped in the assembly. Fix: use zero instead of a symbol subtraction for Compile Unit 0. llvm-svn: 174479
* [tests] One last batch of XFAILs, for tests using new symbols added to libc++.Daniel Dunbar2013-02-0616-0/+80
| | | | | | | - As of this commit, the test suite should now fully pass on both darwin11 and darwin12 when testing against either a locally built libc++ or the system libc++. llvm-svn: 174478
* Use a dyn_cast to avoid a crash when the TypeLoc is not a ConstantArrayTypeLoc.Chad Rosier2013-02-061-4/+5
| | | | | | rdar://13153516 llvm-svn: 174477
* <rdar://problem/11109570>Greg Clayton2013-02-064-195/+230
| | | | | | The first part of the fix for having LLDB handle LTO debugging when the DWARF is in the .o files. This part separates the object file's modules into a separate cache map that maps unique C strings for the N_OSO path to the ModuleSP since one object file might be mentioned more than once in LTO binaries. llvm-svn: 174476
* [Headers] Use standard builtin defines instead of typeof trickery.Daniel Dunbar2013-02-061-2/+2
| | | | | | | - The trickery can confuse more basic source processors, in particular the Unix conformance tool that wants to scan headers. llvm-svn: 174475
* Fixed the TestSourceManager.py test case to not fail. It was using the ↵Greg Clayton2013-02-061-4/+4
| | | | | | "list" alias which has now been turned into a regex command that mimics the GDB equivalent. Changed "list" to "source list" to get around this problem. llvm-svn: 174474
* Fix some formatting & add comments, following Eric's reviewEli Bendersky2013-02-061-12/+19
| | | | llvm-svn: 174473
* Added test for r174461 that checks that the desired behavior also occurs in ↵Michael Gottesman2013-02-061-0/+8
| | | | | | | | ObjC++ alongside ObjC. \end paranoia. llvm-svn: 174471
* [build] Create the link for the final library install name in the lib dir.Daniel Dunbar2013-02-061-0/+15
| | | | | | | - Otherwise, we never were actually linking against the right library when building the test applications. llvm-svn: 174470
* [tests] Accept XFAIL arguments that match any part of a feature.Daniel Dunbar2013-02-061-3/+4
| | | | llvm-svn: 174469
* [analyzer]Revert part of r161511; suppresses leak false positives in C++Anna Zaks2013-02-064-23/+46
| | | | | | | | | | | This is a "quick fix". The underlining issue is that when a const pointer to a struct is passed into a function, we do not invalidate the pointer fields. This results in false positives that are common in C++ (since copy constructors are prevalent). (Silences two llvm false positives.) llvm-svn: 174468
* Add the target-dependent (string) attributes from the AttrBuilder to the ↵Bill Wendling2013-02-052-2/+28
| | | | | | AttributeSet. llvm-svn: 174467
* Adding armv7l default to cortex-a8Renato Golin2013-02-051-0/+1
| | | | llvm-svn: 174466
* Add missing file to CMake listEli Bendersky2013-02-051-0/+1
| | | | llvm-svn: 174465
* Test for r174446Eli Bendersky2013-02-051-0/+22
| | | | llvm-svn: 174464
* Initial support for DWARF CFI parsing and dumping in LLVMEli Bendersky2013-02-057-3/+294
| | | | llvm-svn: 174463
* Be consistent about the field name - AddressSize, not PointerSize. AddEli Bendersky2013-02-051-9/+11
| | | | | | a setter and fix some comments. llvm-svn: 174462
* Changed CGObjCMac.cpp to add the marker externally_initialized to ↵Michael Gottesman2013-02-055-8/+18
| | | | | | | | | | | | | SELECTOR_REFERENCES in both the fragile and non-fragile API. This is to ensure that GlobalOpt in LLVM does not attempt to look through a selector reference to a method var name at compile time. I also added a test/updated old tests that need to recognize the new keyword. rdar://12580965. llvm-svn: 174461
* Preprocess Apple llvmCore headers to reflect NDEBUG setting. <rdar://12568983>Bob Wilson2013-02-051-0/+10
| | | | | | | | | | If an Apple llvmCore build is done without assertions, and a client uses the llvmCore headers with assertions enabled, or vice versa, then things will break because some of the structure sizes in the API are different. Use the unifdef tool to make the headers unconditionally match the way the llvmCore libraries were built. llvm-svn: 174460
* [tests] XFAIL some locale tests that don't seem to work on any Darwin.Daniel Dunbar2013-02-058-0/+16
| | | | llvm-svn: 174459
* Revert "[Support][ErrorOr] Add support for convertable types."Andrew Trick2013-02-052-16/+3
| | | | | | | | | This reverts commit a33e1fafac7fedb1b080ef07ddf9ad6ddff3a830. This unit test crashes on Darwon. It needs to be temporarily reverted to unblock the test infrastructure. llvm-svn: 174458
* Convert to storing the attribute's internals as enums, integers, and strings.Bill Wendling2013-02-053-139/+279
| | | | | | | | The stuff we're handing are all enums (Attribute::AttrKind), integers and strings. Don't convert them to Constants, which is an unnecessary step here. The rest of the changes are mostly mechanical. llvm-svn: 174456
* Change ObjectFileMachO::ParseSymtab to read the externalJason Molenda2013-02-051-2/+14
| | | | | | | | | function stub routine addresses from an in-memory-only MachO object file. This was the only remaining part of ParseSymtab() that was assuming a file exists. <rdar://problem/13139585> llvm-svn: 174455
* [tests] If no explicit target triple is given, try to infer it.Daniel Dunbar2013-02-051-2/+7
| | | | llvm-svn: 174454
* [tests] Mark another stream input expected failure (with system libc++).Daniel Dunbar2013-02-051-0/+2
| | | | llvm-svn: 174453
* [tests] Mark another stream input expected failure (with system libc++).Daniel Dunbar2013-02-051-0/+2
| | | | llvm-svn: 174452
* [tests] Mark some string.conversions expected failures (with system libc++).Daniel Dunbar2013-02-052-0/+6
| | | | llvm-svn: 174451
* [tests] XFAIL a few things that require libc (?) support missing on Darwin.Daniel Dunbar2013-02-054-0/+8
| | | | llvm-svn: 174450
* Add note why we used a switch.Ted Kremenek2013-02-051-0/+1
| | | | llvm-svn: 174449
* Minor tweak to install docsDouglas Gregor2013-02-051-1/+1
| | | | llvm-svn: 174448
* Change subexpressions to be visited in the CFG from left-to-right.Ted Kremenek2013-02-058-129/+304
| | | | | | | | | | | | | | | | | This is a more natural order of evaluation, and it is very important for visualization in the static analyzer. Within Xcode, the arrows will not jump from right to left, which looks very visually jarring. It also provides a more natural location for dataflow-based diagnostics. Along the way, we found a case in the analyzer diagnostics where we needed to indicate that a variable was "captured" by a block. -fsyntax-only timings on sqlite3.c show no visible performance change, although this is just one test case. Fixes <rdar://problem/13016513> llvm-svn: 174447
* Make sure the correct opcodes are used to SUB and ADD the stackEli Bendersky2013-02-051-13/+18
| | | | | | | pointer in function prologs/epilogs. The opcodes should depend on the data model (LP64 vs. ILP32) rather than the architecture bit-ness. llvm-svn: 174446
* Dwarf: support for LTO where a single object file can have multiple line tablesManman Ren2013-02-0513-29/+175
| | | | | | | | | We generate one line table for each compilation unit in the object file. Reviewed by Eric and Kevin. rdar://problem/13067005 llvm-svn: 174445
* [tests] Mark some istream.unformatted expected failures (with system libc++).Daniel Dunbar2013-02-054-0/+9
| | | | llvm-svn: 174444
* [tests] Add an available feature that combines the triple and use_system_lib.Daniel Dunbar2013-02-051-0/+8
| | | | | | | - This is so that we can easily write XFAIL markers for tests that are known to fail with versions of libc++ as were shipped with a particular triple. llvm-svn: 174443
* [mips] Do not use function CC_MipsN_VarArg unless the function being analyzedAkira Hatanaka2013-02-052-1/+15
| | | | | | | | | | | is a vararg function. The original code was examining flag OutputArg::IsFixed to determine whether CC_MipsN_VarArg or CC_MipsN should be called. This is not correct, since this flag is often set to false when the function being analyzed is a non-variadic function. llvm-svn: 174442
* Remove an uninteresting noteDouglas Gregor2013-02-051-3/+0
| | | | llvm-svn: 174441
* [tests] Add support for REQUIRES and XFAIL lines in libc++ tests.Daniel Dunbar2013-02-051-1/+68
| | | | | | | | | | - We parse up to the first non-empty non-comment (C++ style) line, otherwise the format and semantics match what is used for LLVM/Clang tests. - For now, the only interesting thing to test against is a user supplied target_triple test parameter. llvm-svn: 174440
* [objdump,readobj] Document the purpose and goals of each tool.Michael J. Spencer2013-02-052-4/+10
| | | | llvm-svn: 174439
* InstCombine: Fix and simplify the inttoptr side too.Benjamin Kramer2013-02-052-13/+24
| | | | llvm-svn: 174438
* Being explicit about which std c++ library these test cases need to useEnrico Granata2013-02-055-1/+13
| | | | llvm-svn: 174437
* [analyzer] Teach the analyzer to use a symbol for p when evaluatingAnna Zaks2013-02-052-11/+27
| | | | | | | | (void*)p. Addresses the false positives similar to the test case. llvm-svn: 174436
* [analyzer] add commentAnna Zaks2013-02-051-1/+5
| | | | llvm-svn: 174435
* [analyzer] Fix typo, better doxygen as per Jordan's feedback.Anna Zaks2013-02-051-3/+3
| | | | llvm-svn: 174434
* Added missing newline to end of test case.Michael Gottesman2013-02-051-1/+1
| | | | llvm-svn: 174433
* Removed explicit inline as per the LLVM style guide.Michael Gottesman2013-02-051-7/+7
| | | | llvm-svn: 174432
* Reapply r174343, with a fix for a scary DAG combine bug where it failed to ↵Owen Anderson2013-02-053-6/+10
| | | | | | | | | | | | | | | | | | differentiate between the alignment of the base point of a load, and the overall alignment of the load. This caused infinite loops in DAG combine with the original application of this patch. ORIGINAL COMMIT LOG: When the target-independent DAGCombiner inferred a higher alignment for a load, it would replace the load with one with the higher alignment. However, it did not place the new load in the worklist, which prevented later DAG combines in the same phase (for example, target-specific combines) from ever seeing it. This patch corrects that oversight, and updates some tests whose output changed due to slightly different DAGCombine outputs. llvm-svn: 174431
* InstCombine: Harden code to work with vectors of pointers and simplify it a bit.Benjamin Kramer2013-02-052-11/+22
| | | | | | Found by running instcombine on a fabricated test case for the constant folder. llvm-svn: 174430
* Hexagon: Use TFR_cond with cmpb.[eq,gt,gtu] to handleJyotsna Verma2013-02-055-1/+536
| | | | | | zext( set[ne,eq,gt,ugt] (...) ) type of dag patterns. llvm-svn: 174429
* [ELF][x86-64] Handle PLT32 relocations to IFUNC.Michael J. Spencer2013-02-054-11/+25
| | | | llvm-svn: 174428
OpenPOWER on IntegriCloud