summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* [ELF][Layout] Provide a proper way to get the TLS segment size.Michael J. Spencer2013-02-052-13/+13
| | | | llvm-svn: 174427
* [ELF] Implement GOTPCREL for defined atoms.Michael J. Spencer2013-02-055-8/+32
| | | | llvm-svn: 174426
* [ELF] Replace local dynamic tls access with direct access.Michael J. Spencer2013-02-055-3/+58
| | | | llvm-svn: 174425
* ConstantFolding: Fix a crash when encoutering a truncating inttoptr.Benjamin Kramer2013-02-052-3/+26
| | | | | | This was introduced in r173293. llvm-svn: 174424
* Loop Vectorizer: Refactor code to compute vectorized memory instruction costArnold Schwaighofer2013-02-051-79/+178
| | | | | | | Introduce a helper class that computes the cost of memory access instructions. No functionality change intended. llvm-svn: 174422
* <rdar://problem/12866706>Greg Clayton2013-02-051-20/+34
| | | | | | Removed asserts and replaced them with conditional code and appropriate errors that prompt for a bug to be filed. llvm-svn: 174420
* Hexagon: Add testcase for post-increment store instructions.Jyotsna Verma2013-02-051-0/+29
| | | | llvm-svn: 174419
* [SjLj Prepare] When demoting an invoke instructions to the stack, if the normalChad Rosier2013-02-052-5/+82
| | | | | | | edge is critical, then split it so we can insert the store. rdar://13126179 llvm-svn: 174418
* Remove liveout lists from MachineRegisterInfo.Jakob Stoklund Olesen2013-02-054-27/+6
| | | | | | | | All targets are now adding return value registers as implicit uses on return instructions, and there is no longer a need for the live out lists. llvm-svn: 174417
* Remove special-casing of return blocks for liveness.Jakob Stoklund Olesen2013-02-056-142/+7
| | | | | | | Now that return value registers are return instruction uses, there is no need for special treatment of return blocks. llvm-svn: 174416
* Move MRI liveouts to AArch64 return instructions.Jakob Stoklund Olesen2013-02-052-14/+12
| | | | llvm-svn: 174415
* Move MRI liveouts to XCore return instructions.Jakob Stoklund Olesen2013-02-052-16/+14
| | | | llvm-svn: 174414
* Move MRI liveouts to Sparc return instructions.Jakob Stoklund Olesen2013-02-052-16/+13
| | | | llvm-svn: 174413
* Hexagon: Use multiclass for absolute addressing mode stores.Jyotsna Verma2013-02-052-102/+116
| | | | llvm-svn: 174412
OpenPOWER on IntegriCloud